test/rmlvo-to-kccgst: free memory before exit

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2013-02-28 21:06:35 +02:00 committed by Daniel Stone
parent b36d5b23d2
commit a0fc9066ef
1 changed files with 6 additions and 0 deletions

View File

@ -81,5 +81,11 @@ main(int argc, char *argv[])
printf("types: %s\n", kccgst.types);
printf("compat: %s\n", kccgst.compat);
printf("symbols: %s\n", kccgst.symbols);
free(kccgst.keycodes);
free(kccgst.types);
free(kccgst.compat);
free(kccgst.symbols);
xkb_context_unref(ctx);
return 0;
}