diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-06-18 17:35:08 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-06-18 17:35:08 +0100 |
commit | c802c013650643d3c8a9ce45906a70a6694dbdb4 (patch) | |
tree | f821609678c8f9c59133f31d3e0bb790850b8f98 /tests/wocky-test-helper.c | |
parent | e8d0683759fc59c4d834797c68bbc5d1f0073689 (diff) |
unref the stanza in test_expected_stanza_received
Diffstat (limited to 'tests/wocky-test-helper.c')
-rw-r--r-- | tests/wocky-test-helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/wocky-test-helper.c b/tests/wocky-test-helper.c index 6acec40..01d89db 100644 --- a/tests/wocky-test-helper.c +++ b/tests/wocky-test-helper.c @@ -231,6 +231,7 @@ test_expected_stanza_received (test_data_t *test, expected = g_queue_pop_head (test->expected_stanzas); g_assert (expected != NULL); g_assert (wocky_xmpp_node_equal (stanza->node, expected->node)); + g_object_unref (expected); test->outstanding--; g_main_loop_quit (test->loop); |