Commit 3077e97e7c0948ed1d11fe13c9e0d3ab0929e262

Daniel Stone 2012-02-15T16:37:31

tests: Free returned XKB map Signed-off-by: Daniel Stone <daniel@fooishbar.org>

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;
 }