Two frees to appease Coverity

This commit is contained in:
Erik van der Kouwe 2012-08-31 20:12:57 +02:00
parent 3c57102616
commit 2a0e9af32f
2 changed files with 2 additions and 0 deletions

View file

@ -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);

View file

@ -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) {