cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=46992cbed5e2ca01cfebedc4bef887d6bf03b301

commit 46992cbed5e2ca01cfebedc4bef887d6bf03b301
Author: Cedric BAIL <[email protected]>
Date:   Wed Mar 14 13:48:44 2018 -0400

    tests: do not call unref on eldbus message objects after sending them
    
    Signed-off-by: Mike Blumenkrantz <[email protected]>
---
 src/tests/eldbus/eldbus_test_eldbus_proxy.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/tests/eldbus/eldbus_test_eldbus_proxy.c 
b/src/tests/eldbus/eldbus_test_eldbus_proxy.c
index 2fdf06f3eb..0713c1aecd 100644
--- a/src/tests/eldbus/eldbus_test_eldbus_proxy.c
+++ b/src/tests/eldbus/eldbus_test_eldbus_proxy.c
@@ -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);
-}
\ No newline at end of file
+}

-- 


Reply via email to