projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b36d5b2
)
test/rmlvo-to-kccgst: free memory before exit
author
Ran Benita
<ran234@gmail.com>
Thu, 28 Feb 2013 19:06:35 +0000
(21:06 +0200)
committer
Daniel Stone
<daniel@fooishbar.org>
Mon, 18 Mar 2013 22:20:04 +0000
(22:20 +0000)
Signed-off-by: Ran Benita <ran234@gmail.com>
test/rmlvo-to-kccgst.c
patch
|
blob
|
history
diff --git
a/test/rmlvo-to-kccgst.c
b/test/rmlvo-to-kccgst.c
index
338cbb8
..
3443614
100644
(file)
--- 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;
}