From a0fc9066effee5ebebac87a6154be92422506382 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Thu, 28 Feb 2013 21:06:35 +0200 Subject: test/rmlvo-to-kccgst: free memory before exit Signed-off-by: Ran Benita --- test/rmlvo-to-kccgst.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; } -- cgit v1.2.3