Do not unref msg in _send_async_shortcut() 74/94474/1
authorMyungki Lee <mk5004.lee@samsung.com>
Mon, 31 Oct 2016 05:57:40 +0000 (14:57 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Mon, 31 Oct 2016 05:57:40 +0000 (14:57 +0900)
- Async should not free msg, will be freed by gdbus after async call done

Change-Id: Ia4f856a86b392bfacb0c4ae5cdc3ca8b4bb430f0
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
lib/src/shortcut_internal.c

index ece3e52..99c2b2a 100755 (executable)
@@ -391,8 +391,6 @@ int _send_async_shortcut(GVariant *body, struct result_cb_item *cb_item, char *c
                        (GAsyncReadyCallback)_send_message_with_reply_sync_cb,
                        cb_item);
 
-       g_object_unref(msg);
-
        DbgPrint("_send_async_shortcut done !!");
        return SHORTCUT_ERROR_NONE;
 }