Diff between e224fd82eb9ba3cf2ebbc63a7fcd8d695fc64b59 and fac77354be78cdcf5c4a88fb740c9076da653671
Changed Files
| File | Additions | Deletions | Status |
| src/device.c | +3 | -2 | modified |
Full Patch
diff --git a/src/device.c b/src/device.c
index a196af4..f8c5b5f 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1488,10 +1488,11 @@ static void device_svc_resolved(struct btd_device *dev, int err)
else
return;
+ dbus_message_unref(req->msg);
+ req->msg = NULL;
+
if (reply)
g_dbus_send_message(conn, reply);
- else
- req->msg = NULL;
}
static uint8_t parse_io_capability(const char *capability)