projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bbfdd8
)
Fix unref issue
08/180408/1
author
injun.yang
<injun.yang@samsung.com>
Tue, 29 May 2018 07:37:01 +0000
(16:37 +0900)
committer
injun.yang
<injun.yang@samsung.com>
Tue, 29 May 2018 07:37:01 +0000
(16:37 +0900)
Change-Id: I473458f3435f781b1828758a4c799de7b69eca25
bt-service/bt-service-audio.c
patch
|
blob
|
history
diff --git
a/bt-service/bt-service-audio.c
b/bt-service/bt-service-audio.c
index
2200aa9
..
24c8c5c
100644
(file)
--- a/
bt-service/bt-service-audio.c
+++ b/
bt-service/bt-service-audio.c
@@
-166,7
+166,9
@@
static void __bt_audio_request_cb(GDBusProxy *proxy, GAsyncResult *res,
reply = g_dbus_proxy_call_finish(proxy, res, &g_error);
g_object_unref(proxy);
- g_variant_unref(reply);
+
+ if (reply)
+ g_variant_unref(reply);
func_data = user_data;