summaryrefslogtreecommitdiffstats
path: root/src/device_link_service.c
diff options
context:
space:
mode:
authorGravatar Bryan Forbes2010-05-13 22:05:08 +0200
committerGravatar Martin Szulecki2010-05-13 22:14:19 +0200
commit3548bb06c3d1eb54a3ec7db142ad5fe90683e72b (patch)
tree88ed5bdcb35b2f2781dd390dccbf92b5d60d83e4 /src/device_link_service.c
parentad76568f528e6d344a052360502f7b1fbe7b008a (diff)
downloadlibimobiledevice-3548bb06c3d1eb54a3ec7db142ad5fe90683e72b.tar.gz
libimobiledevice-3548bb06c3d1eb54a3ec7db142ad5fe90683e72b.tar.bz2
Actually free the client in the _free() call.
Diffstat (limited to 'src/device_link_service.c')
-rw-r--r--src/device_link_service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device_link_service.c b/src/device_link_service.c
index a5befc7..51fcc80 100644
--- a/src/device_link_service.c
+++ b/src/device_link_service.c
@@ -116,6 +116,7 @@ device_link_service_error_t device_link_service_client_free(device_link_service_
if (property_list_service_client_free(client->parent) != PROPERTY_LIST_SERVICE_E_SUCCESS) {
return DEVICE_LINK_SERVICE_E_UNKNOWN_ERROR;
}
+ free(client);
return DEVICE_LINK_SERVICE_E_SUCCESS;
}