diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-10 12:31:44 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-10 12:31:44 +0200 |
commit | 9ffbfb5e9db21cba81ac8af6d2c170882e00b17c (patch) | |
tree | 0ba50aa98774d2a48cd2aeff313ec93d3216f636 | |
parent | a1f8f9870457b213682328da441ba4aeeba2cad1 (diff) |
Fix memory leak
-rw-r--r-- | src/device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c index 6fba5352..a5a9d523 100644 --- a/src/device.c +++ b/src/device.c @@ -986,6 +986,7 @@ static void browse_req_free(struct browse_req *req) dbus_message_unref(req->msg); if (req->conn) dbus_connection_unref(req->conn); + g_slist_foreach(req->uuids_added, (GFunc) g_free, NULL); g_slist_free(req->uuids_added); g_slist_free(req->uuids_removed); if (req->records) |