Change-Id: I30b264d5de68b78081afc855b5ae3d1847dc06e3
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
for (i = 0; i < nr; i++) {
dump_line(ofp, lines[i]);
}
+
+ free(lines);
}
static void
ofp = stdout;
}
extract_word(nr_input, input_files, ofp);
+ free(input_files);
return 0;
}
if (ofp) {
convert_data(nr_input, input_files);
}
+ free(input_files);
+
return 0;
}
fwrite(hash_array, YOMI_HASH_ARRAY_SIZE, 1, yomi_hash_out);
printf("generated yomi hash bitmap (%d collisions/%d entries)\n",
yomi_hash_collision, yl->nr_valid_entries);
-
+
+ free(hash_array);
}
static struct adjust_command *
for (cr = db->res_list.next; cr; cr = cr->next) {
dump_res(fp, cr);
}
+ fclose(fp);
}
static void