diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-10-06 17:15:06 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-10-06 17:15:06 +0200 |
commit | 81b537b36dcec25468a0e1b1a2fe14ecb5a60ce5 (patch) | |
tree | ff3f0cd650b88642cddede049f08920d887e2cac /tests | |
parent | ae9ef75babdf1e6e2147e8d30dc307ef7a9f0636 (diff) | |
download | profani-tty-81b537b36dcec25468a0e1b1a2fe14ecb5a60ce5.tar.gz |
Fix test_callbacks memleak
Regards https://github.com/profanity-im/profanity/issues/1019
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unittests/test_callbacks.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unittests/test_callbacks.c b/tests/unittests/test_callbacks.c index 78693d4c..a1a7317e 100644 --- a/tests/unittests/test_callbacks.c +++ b/tests/unittests/test_callbacks.c @@ -15,6 +15,8 @@ void returns_no_commands(void **state) GList *commands = plugins_get_command_names(); assert_true(commands == NULL); + + callbacks_close(); } void returns_commands(void **state) @@ -54,4 +56,7 @@ void returns_commands(void **state) } assert_true(foundCommand1 && foundCommand2 && foundCommand3); + + //TODO: why does this make the test fail? + //callbacks_close(); } |