tests: do not call unref on eldbus message objects after sending them

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
This commit is contained in:
Cedric BAIL 2018-03-14 13:48:44 -04:00 committed by Cedric Bail
parent 97289953ec
commit 46992cbed5
1 changed files with 1 additions and 3 deletions

View File

@ -242,7 +242,6 @@ START_TEST(utc_eldbus_proxy_send_call_p)
ck_assert_msg(is_success, "Method GetId is not call");
eldbus_message_unref(msg);
eldbus_proxy_unref(proxy);
eldbus_object_unref(obj);
eldbus_connection_unref(conn);
@ -326,7 +325,6 @@ START_TEST(utc_eldbus_proxy_send_and_block_p)
ck_assert_str_ne(text_reply, empty_string);
eldbus_message_unref(message_reply);
eldbus_message_unref(msg);
eldbus_proxy_unref(proxy);
eldbus_object_unref(obj);
eldbus_connection_unref(conn);
@ -416,4 +414,4 @@ eldbus_test_eldbus_proxy(TCase *tc)
tcase_add_test(tc, utc_eldbus_proxy_send_call_p);
tcase_add_test(tc, utc_eldbus_proxy_send_and_block_p);
tcase_add_test(tc, utc_eldbus_proxy_data_p);
}
}