From: Carsten Haitzler Date: Sun, 7 Oct 2012 09:59:07 +0000 (+0000) Subject: really quick patch on connman asking for logins... agent->msg is the X-Git-Tag: submit/efl/20131021.015651~3117 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c17116d357b2443d19bee015f3d0901777f5c85c;p=platform%2Fupstream%2Fenlightenment.git really quick patch on connman asking for logins... agent->msg is the same as msg in the cb. this stops an instant segv but doesnt fully fix it. it's at least marked/commented to be looked at. SVN revision: 77556 --- diff --git a/src/modules/connman/agent.c b/src/modules/connman/agent.c index 41df911..dadff7c 100644 --- a/src/modules/connman/agent.c +++ b/src/modules/connman/agent.c @@ -413,6 +413,9 @@ _agent_request_input(E_DBus_Object *obj, DBusMessage *msg) agent = e_dbus_object_data_get(obj); /* Discard previous requests */ + // if msg is the current agent msg? eek. + if (agent->msg == msg) return NULL; + if (agent->msg) dbus_message_unref(agent->msg); agent->msg = dbus_message_ref(msg);