libgdbus: fix leak 82/222282/1 accepted/tizen/unified/20200114.130725 submit/tizen/20200113.072921
authorsanghyeok.oh <sanghyeok.oh@samsung.com>
Mon, 13 Jan 2020 07:52:46 +0000 (16:52 +0900)
committersanghyeok.oh <sanghyeok.oh@samsung.com>
Mon, 13 Jan 2020 07:52:51 +0000 (16:52 +0900)
Change-Id: Ib15167a5be404e8ca6f690efe269f7a407fefce0
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
src/libgdbus/dbus-system.c

index 83672e3..8038709 100644 (file)
@@ -1591,6 +1591,7 @@ int dbus_handle_signal_ctx_add_timeout(sig_ctx *ctx, int timeout_msec)
 
        g_source_set_callback(src, _cb_ctx_timeout, ctx, NULL);
        g_source_attach(src, ctx->context);
+       g_source_unref(src);
 
        ctx->timeout_src = src;