From ae4ed8541cdd531a17c827b55393379716785265 Mon Sep 17 00:00:00 2001 From: Guillaume Zajac Date: Fri, 29 Jul 2011 14:49:56 +0200 Subject: [PATCH] connman: Fix crash in request_reply --- plugins/connman.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/connman.c b/plugins/connman.c index f630606e..bb29cd52 100644 --- a/plugins/connman.c +++ b/plugins/connman.c @@ -186,8 +186,7 @@ static void request_reply(DBusPendingCall *call, void *user_data) if (reply == NULL) goto badreply; - if (parse_reply(dbus_pending_call_steal_reply(call), - &path, &pns) == FALSE) + if (parse_reply(reply, &path, &pns) == FALSE) goto error; DBG("fd: %d, path: %s", pns.fd, path);