summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Xiao Deng2016-04-29 20:34:52 +0200
committerGravatar Nikias Bassen2016-04-29 20:34:52 +0200
commit11c1cd64edb750b3035c6b147e6b9712a6caefe2 (patch)
tree18906ba0cf37dfbff4ec3ca753893e8e97844b7e /src
parentd29709f86ef66239551493b4b4a4fc7eb62771ce (diff)
downloadlibimobiledevice-11c1cd64edb750b3035c6b147e6b9712a6caefe2.tar.gz
libimobiledevice-11c1cd64edb750b3035c6b147e6b9712a6caefe2.tar.bz2
file_relay: Plug small memory leak
Diffstat (limited to 'src')
-rw-r--r--src/file_relay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file_relay.c b/src/file_relay.c
index 5055556..455855b 100644
--- a/src/file_relay.c
+++ b/src/file_relay.c
@@ -59,6 +59,7 @@ LIBIMOBILEDEVICE_API file_relay_error_t file_relay_client_free(file_relay_client
if (property_list_service_client_free(client->parent) != PROPERTY_LIST_SERVICE_E_SUCCESS) {
return FILE_RELAY_E_UNKNOWN_ERROR;
}
+ free(client);
return FILE_RELAY_E_SUCCESS;
}