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