projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix unref issue
[platform/core/connectivity/bluetooth-frwk.git]
/
bt-service
/
bt-service-audio.c
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;