Diff between 65add82a0a533d81f526c9bcfff5fb832bfe34d5 and ae4186cea7a8292e9b4fdd9e67d5f86a11f965c7
Changed Files
| File | Additions | Deletions | Status |
| profiles/input/device.c | +5 | -0 | modified |
Full Patch
diff --git a/profiles/input/device.c b/profiles/input/device.c
index 13c74cb..6ffc199 100644
--- a/profiles/input/device.c
+++ b/profiles/input/device.c
@@ -121,6 +121,11 @@ static void input_device_free(struct input_device *idev)
if (idev->ctrl_io)
g_io_channel_unref(idev->ctrl_io);
+ if (idev->req) {
+ g_free(idev->req->rd_data);
+ g_free(idev->req);
+ }
+
g_free(idev->uuid);
g_free(idev);