Diff between ad5da41d57c3d4dff595e151521f39ff7812a264 and adbfbebdbaef2f9e986789694284af646b6beac1
Changed Files
| File | Additions | Deletions | Status |
| profiles/input/device.c | +2 | -2 | modified |
Full Patch
diff --git a/profiles/input/device.c b/profiles/input/device.c
index 7655534..ca1ce8b 100644
--- a/profiles/input/device.c
+++ b/profiles/input/device.c
@@ -285,7 +285,7 @@ static void encrypt_completed(uint8_t status, gpointer user_data)
close(req->ctrl_sock);
cleanup:
- free(req->rd_data);
+ g_free(req->rd_data);
g_free(req);
}
@@ -376,7 +376,7 @@ static int hidp_add_connection(struct input_device *idev)
err = ioctl_connadd(req);
cleanup:
- free(req->rd_data);
+ g_free(req->rd_data);
g_free(req);
return err;