summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Xiao Deng2016-04-29 20:34:13 +0200
committerGravatar Nikias Bassen2016-04-29 20:34:13 +0200
commitd29709f86ef66239551493b4b4a4fc7eb62771ce (patch)
tree007fb001f674f6a28f8602c5847b25656c231cff /src
parentcca7ce77d8bde998933ef8a753407b043806c1a6 (diff)
downloadlibimobiledevice-d29709f86ef66239551493b4b4a4fc7eb62771ce.tar.gz
libimobiledevice-d29709f86ef66239551493b4b4a4fc7eb62771ce.tar.bz2
diagnostics_relay: Plug small memory leak
Diffstat (limited to 'src')
-rw-r--r--src/diagnostics_relay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/diagnostics_relay.c b/src/diagnostics_relay.c
index f67c4df..79e041e 100644
--- a/src/diagnostics_relay.c
+++ b/src/diagnostics_relay.c
@@ -104,6 +104,7 @@ LIBIMOBILEDEVICE_API diagnostics_relay_error_t diagnostics_relay_client_free(dia
if (property_list_service_client_free(client->parent) != PROPERTY_LIST_SERVICE_E_SUCCESS) {
return DIAGNOSTICS_RELAY_E_UNKNOWN_ERROR;
}
+ free(client);
return DIAGNOSTICS_RELAY_E_SUCCESS;
}