connman: Fix crash due to uninitialized path

This commit is contained in:
Guillaume Zajac 2011-07-29 15:49:09 +02:00 committed by Denis Kenzior
parent ae4ed8541c
commit 5029b906aa
1 changed files with 1 additions and 0 deletions

View File

@ -264,6 +264,7 @@ static int connman_request(ofono_private_network_cb_t cb, void *data)
req->data = data;
req->uid = id;
req->redundant = FALSE;
req->path = NULL;
dbus_pending_call_set_notify(call, request_reply, req, NULL);
g_hash_table_insert(requests, &req->uid, req);