free line info leaves
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
336f86f2ee
commit
136d24ea1b
@ -1825,6 +1825,14 @@ next_line:
|
||||
}
|
||||
free(o);
|
||||
}
|
||||
for (i = 0; i < num_traces; i++) {
|
||||
line_info_t *line = lines[i].next;
|
||||
while (line) {
|
||||
line_info_t *l = line;
|
||||
line = line->next;
|
||||
free(l);
|
||||
}
|
||||
}
|
||||
free(lines);
|
||||
free(dladdr_fbases);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user