diff options
author | Guillaume Zajac <guillaume.zajac@linux.intel.com> | 2011-07-29 14:49:56 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-07-28 00:12:13 -0500 |
commit | ae4ed8541cdd531a17c827b55393379716785265 (patch) | |
tree | 5c52df360a33cb6a36dd05982da01e1e85085071 /plugins/connman.c | |
parent | 446ee3443c1f9e05a60b541bffe6d8c5814c0144 (diff) | |
download | ofono-ae4ed8541cdd531a17c827b55393379716785265.tar.bz2 |
connman: Fix crash in request_reply
Diffstat (limited to 'plugins/connman.c')
-rw-r--r-- | plugins/connman.c | 3 |
1 files changed, 1 insertions, 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); |