makekeys: free strings before exiting

Just to make valgrind happy.

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2012-04-01 16:57:31 +03:00 committed by Daniel Stone
parent 8f2c9597ba
commit 9813778e73
1 changed files with 3 additions and 0 deletions

View File

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