diff options
author | Nikias Bassen | 2013-02-26 17:24:23 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-02-27 16:18:15 +0100 |
commit | f8066bbf5169b7d7e68771bce677355e33a595c1 (patch) | |
tree | 8e8ee0a82c3a363c171c7124884af80a68e7cd08 /src/misagent.c | |
parent | ca23188eaab07d744e9cf85d9bf69ed323e94186 (diff) | |
download | libimobiledevice-f8066bbf5169b7d7e68771bce677355e33a595c1.tar.gz libimobiledevice-f8066bbf5169b7d7e68771bce677355e33a595c1.tar.bz2 |
implement base service that all other services inherit from
Diffstat (limited to 'src/misagent.c')
-rw-r--r-- | src/misagent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misagent.c b/src/misagent.c index c624603..cb84188 100644 --- a/src/misagent.c +++ b/src/misagent.c @@ -132,7 +132,7 @@ misagent_error_t misagent_client_free(misagent_client_t client) return MISAGENT_E_INVALID_ARG; misagent_error_t err = MISAGENT_E_SUCCESS; - if (client->parent && client->parent->connection) { + if (client->parent && client->parent->parent) { misagent_error(property_list_service_client_free(client->parent)); } client->parent = NULL; |