From 3077e97e7c0948ed1d11fe13c9e0d3ab0929e262 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Wed, 15 Feb 2012 16:37:31 +0000 Subject: [PATCH] tests: Free returned XKB map Signed-off-by: Daniel Stone --- test/filecomp.c | 2 ++ test/namescomp.c | 2 ++ test/rulescomp.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/test/filecomp.c b/test/filecomp.c index 57fa846..27691a8 100644 --- a/test/filecomp.c +++ b/test/filecomp.c @@ -80,5 +80,7 @@ int main(int argc, char *argv[]) exit(1); } + xkb_free_keymap(xkb); + return 0; } diff --git a/test/namescomp.c b/test/namescomp.c index df3a686..b1a1152 100644 --- a/test/namescomp.c +++ b/test/namescomp.c @@ -58,5 +58,7 @@ int main(int argc, char *argv[]) exit(1); } + xkb_free_keymap(xkb); + return 0; } diff --git a/test/rulescomp.c b/test/rulescomp.c index 5ae3e3c..2532202 100644 --- a/test/rulescomp.c +++ b/test/rulescomp.c @@ -57,5 +57,7 @@ int main(int argc, char *argv[]) exit(1); } + xkb_free_keymap(xkb); + return 0; } -- 2.7.4