diff options
Diffstat (limited to 'binding/bluetooth-api.c')
-rw-r--r-- | binding/bluetooth-api.c | 1 |
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); |