mirror of git://git.sysmocom.de/ofono
connman: Fix crash in request_reply
This commit is contained in:
parent
446ee3443c
commit
ae4ed8541c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue