summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2013-02-28 21:06:35 +0200
committerDaniel Stone <daniel@fooishbar.org>2013-03-18 22:20:04 +0000
commita0fc9066effee5ebebac87a6154be92422506382 (patch)
tree596aa1e2f66f700dd154faf20301a98cf6b7bef8 /test
parentb36d5b23d243171208b6a3fe4b2c43ba3199104a (diff)
test/rmlvo-to-kccgst: free memory before exit
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/rmlvo-to-kccgst.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/rmlvo-to-kccgst.c b/test/rmlvo-to-kccgst.c
index 338cbb8..3443614 100644
--- a/test/rmlvo-to-kccgst.c
+++ b/test/rmlvo-to-kccgst.c
@@ -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;
}