summaryrefslogtreecommitdiff
path: root/server/infopipe
diff options
context:
space:
mode:
Diffstat (limited to 'server/infopipe')
-rw-r--r--server/infopipe/infopipe_users.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/infopipe/infopipe_users.c b/server/infopipe/infopipe_users.c
index 4495f09d..498496fd 100644
--- a/server/infopipe/infopipe_users.c
+++ b/server/infopipe/infopipe_users.c
@@ -374,7 +374,7 @@ static void infp_get_attr_lookup_callback(void *ptr, int ldb_status, struct ldb_
bool call_provider = false;
int timeout;
uint64_t lastUpdate;
- DBusMessage *reply;
+ DBusMessage *reply = NULL;
DBusMessageIter iter;
DBusMessageIter array_iter;
struct infp_getattr_ctx *infp_getattr_req = talloc_get_type(ptr, struct infp_getattr_ctx);
@@ -467,6 +467,7 @@ static void infp_get_attr_lookup_callback(void *ptr, int ldb_status, struct ldb_
sbus_conn_send_reply(infp_getattr_req->infp_req->sconn, reply);
done:
+ if(reply) dbus_message_unref(reply);
talloc_free(infp_getattr_req);
}