From e51143e3e67c70b86dd9a67cb7e802dd96f989e1 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Thu, 1 Oct 2015 14:34:51 +0200 Subject: sbus codegen tests: free ctx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Memory context was not freed therefore we got stuck in tevent loop that mocks D-Bus. Resolves: https://fedorahosted.org/sssd/ticket/2759 Reviewed-by: Lukáš Slebodník --- src/tests/sbus_codegen_tests.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/tests/sbus_codegen_tests.c b/src/tests/sbus_codegen_tests.c index 4637b92b8..86424116b 100644 --- a/src/tests/sbus_codegen_tests.c +++ b/src/tests/sbus_codegen_tests.c @@ -1193,6 +1193,8 @@ START_TEST(test_get_array_dict_sas) ck_assert_str_eq(value, exp_values[1]); dbus_message_iter_next(&it_dict); } + + talloc_free(ctx); } END_TEST -- cgit