about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2019-10-14 00:23:02 +0300
committerDmitry Podgorny <pasis.ua@gmail.com>2019-10-14 00:23:02 +0300
commit0499c4e0eee945127e161b372193e76281a5298b (patch)
tree8fdfb6cd7e881fa8e3f1d61c0000efb96c2bf9bf /tests
parent6d11cd2db3bd22b9ddac0b4a59c610939100694e (diff)
downloadprofani-tty-0499c4e0eee945127e161b372193e76281a5298b.tar.gz
Fix memory leak in unittests
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_cmd_roster.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/test_cmd_roster.c b/tests/unittests/test_cmd_roster.c
index ad0596b2..845fa67f 100644
--- a/tests/unittests/test_cmd_roster.c
+++ b/tests/unittests/test_cmd_roster.c
@@ -57,6 +57,7 @@ void cmd_roster_shows_roster_when_no_args(void **state)
     gboolean result = cmd_roster(NULL, CMD_ROSTER, args);
     assert_true(result);
 
+    g_slist_free(roster);
     roster_destroy();
 }