Two frees to appease Coverity
This commit is contained in:
parent
3c57102616
commit
2a0e9af32f
2 changed files with 2 additions and 0 deletions
|
@ -346,6 +346,7 @@ static void binary_load_pc_map(struct binary_info *binary_info) {
|
|||
perror("failed to start " NM);
|
||||
exit(-1);
|
||||
}
|
||||
free(command);
|
||||
|
||||
/* read symbols from nm output */
|
||||
assert(!binary_info->symbols);
|
||||
|
|
|
@ -236,6 +236,7 @@ static void print_report(void) {
|
|||
printf(" * p < 0.05\n");
|
||||
printf(" ** p < 0.01\n");
|
||||
printf(" *** p < 0.001\n");
|
||||
free(symbol_list);
|
||||
}
|
||||
|
||||
static void print_report_line(const struct symbol_info *symbol) {
|
||||
|
|
Loading…
Reference in a new issue