Message ID | 20220530081209.560465-11-gopalkrishna.tiwari@gmail.com |
---|---|
State | Superseded |
Headers | show |
Series | Fixing memory leak, leaked_handle and use_after | expand |
diff --git a/src/device.c b/src/device.c index 8dc12d026..a0e5d40db 100644 --- a/src/device.c +++ b/src/device.c @@ -2942,6 +2942,7 @@ static void bonding_request_free(struct bonding_req *bonding) bonding->device->bonding = NULL; g_free(bonding); + bonding = NULL; } static DBusMessage *pair_device(DBusConnection *conn, DBusMessage *msg,