about summary refs log tree commit diff stats
path: root/tests/unittests/test_callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/test_callbacks.c')
-rw-r--r--tests/unittests/test_callbacks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unittests/test_callbacks.c b/tests/unittests/test_callbacks.c
index a1a7317e..ec411863 100644
--- a/tests/unittests/test_callbacks.c
+++ b/tests/unittests/test_callbacks.c
@@ -17,6 +17,7 @@ void returns_no_commands(void **state)
     assert_true(commands == NULL);
 
     callbacks_close();
+    g_list_free(commands);
 }
 
 void returns_commands(void **state)
@@ -57,6 +58,7 @@ void returns_commands(void **state)
 
     assert_true(foundCommand1 && foundCommand2 && foundCommand3);
 
+    g_list_free(names);
     //TODO: why does this make the test fail?
     //callbacks_close();
 }