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)
|
if (reply == NULL)
|
||||||
goto badreply;
|
goto badreply;
|
||||||
|
|
||||||
if (parse_reply(dbus_pending_call_steal_reply(call),
|
if (parse_reply(reply, &path, &pns) == FALSE)
|
||||||
&path, &pns) == FALSE)
|
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
DBG("fd: %d, path: %s", pns.fd, path);
|
DBG("fd: %d, path: %s", pns.fd, path);
|
||||||
|
|
Loading…
Reference in New Issue