makekeys: free strings before exiting Just to make valgrind happy. Signed-off-by: Ran Benita <ran234@gmail.com>
diff --git a/makekeys/makekeys.c b/makekeys/makekeys.c
index 4d7767f..35bd66d 100644
--- a/makekeys/makekeys.c
+++ b/makekeys/makekeys.c
@@ -321,5 +321,8 @@ skip2: ;
printf("};\n");
printf("\n#endif /* KS_TABLES_H */\n");
+ for (i = 0; i < ksnum; i++)
+ free(info[i].name);
+
exit(0);
}