summaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
Diffstat (limited to 'binding')
-rw-r--r--binding/bluetooth-api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/binding/bluetooth-api.c b/binding/bluetooth-api.c
index a7c3edd..f594cca 100644
--- a/binding/bluetooth-api.c
+++ b/binding/bluetooth-api.c
@@ -79,6 +79,7 @@ static void mediaplayer1_connect_disconnect(struct bluetooth_state *ns,
reply = bluez_call(ns, BLUEZ_AT_DEVICE, path, state ? "ConnectProfile" : "DisconnectProfile", g_variant_new("(&s)", *tmp), NULL);
if (!reply)
break;
+ g_variant_unref(reply);
}
g_free(path);