1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-07-21 18:24:14 -04:00

Fix test_callbacks memleak

Regards https://github.com/profanity-im/profanity/issues/1019
This commit is contained in:
Michael Vetter 2019-10-06 17:15:06 +02:00
parent ae9ef75bab
commit 81b537b36d

View File

@ -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();
}