diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unittests/test_cmd_bookmark.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/unittests/test_cmd_bookmark.c b/tests/unittests/test_cmd_bookmark.c index e41929a2..7b385706 100644 --- a/tests/unittests/test_cmd_bookmark.c +++ b/tests/unittests/test_cmd_bookmark.c @@ -130,6 +130,22 @@ void cmd_bookmark_list_shows_bookmarks(void **state) gboolean result = cmd_bookmark(&window, CMD_BOOKMARK, args); assert_true(result); + + free(bm1->barejid); + free(bm1->nick); + free(bm1); + free(bm2->barejid); + free(bm2->nick); + free(bm2); + free(bm3->barejid); + free(bm3->nick); + free(bm3); + free(bm4->barejid); + free(bm4->nick); + free(bm4); + free(bm5->barejid); + free(bm5->nick); + free(bm5); } void cmd_bookmark_add_shows_message_when_invalid_jid(void **state) |