From f8066bbf5169b7d7e68771bce677355e33a595c1 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 26 Feb 2013 17:24:23 +0100 Subject: implement base service that all other services inherit from --- src/misagent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/misagent.c') 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; -- cgit v1.1-32-gdbae