diff options
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; |