diff options
author | Xiao Deng | 2016-04-29 20:34:52 +0200 |
---|---|---|
committer | Nikias Bassen | 2016-04-29 20:34:52 +0200 |
commit | 11c1cd64edb750b3035c6b147e6b9712a6caefe2 (patch) | |
tree | 18906ba0cf37dfbff4ec3ca753893e8e97844b7e | |
parent | d29709f86ef66239551493b4b4a4fc7eb62771ce (diff) | |
download | libimobiledevice-11c1cd64edb750b3035c6b147e6b9712a6caefe2.tar.gz libimobiledevice-11c1cd64edb750b3035c6b147e6b9712a6caefe2.tar.bz2 |
file_relay: Plug small memory leak
-rw-r--r-- | src/file_relay.c | 1 |
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; } |