All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] connman: Fix crash while requesting and releasing private network
@ 2011-07-29 12:44 Guillaume Zajac
  2011-07-29 12:49 ` [PATCH_v2] " Guillaume Zajac
  0 siblings, 1 reply; 3+ messages in thread
From: Guillaume Zajac @ 2011-07-29 12:44 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 875 bytes --]

---
 plugins/connman.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/connman.c b/plugins/connman.c
index 3a3429f..8ad6815 100644
--- a/plugins/connman.c
+++ b/plugins/connman.c
@@ -119,7 +119,7 @@ static gboolean parse_reply(DBusMessage *reply, const char **path,
 	if (dbus_message_iter_get_arg_type(&array) != DBUS_TYPE_OBJECT_PATH)
 		return FALSE;
 
-	dbus_message_iter_get_basic(&array, &path);
+	dbus_message_iter_get_basic(&array, path);
 
 	dbus_message_iter_next(&array);
 	if (dbus_message_iter_get_arg_type(&array) != DBUS_TYPE_ARRAY)
@@ -186,7 +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),
+	if (parse_reply(reply,
 			&path, &pns) == FALSE)
 		goto error;
 
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-29 12:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-29 12:44 [PATCH] connman: Fix crash while requesting and releasing private network Guillaume Zajac
2011-07-29 12:49 ` [PATCH_v2] " Guillaume Zajac
2011-07-28  5:15   ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.