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:05:08 +0200
commit2a22344ef664248fa73b3e68014d82b935b20a53 (patch)
tree4b415d37253e7b9a65b622f06374796fce42940f /src/device_link_service.c
parent168cfe0102463921c5e5f1c57d6c7bb52ce092e2 (diff)
downloadlibimobiledevice-2a22344ef664248fa73b3e68014d82b935b20a53.tar.gz
libimobiledevice-2a22344ef664248fa73b3e68014d82b935b20a53.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;
}