Fix-Issue TIVI-2159: Double free of bundle in message handler 90/12890/1
authorAmarnath Valluri <amarnath.valluri@linux.intel.com>
Mon, 25 Nov 2013 10:04:39 +0000 (12:04 +0200)
committerAmarnath Valluri <amarnath.valluri@linux.intel.com>
Mon, 25 Nov 2013 10:49:50 +0000 (12:49 +0200)
Client frees the data(bundle) passed in message handler, so we need not
to free it.

Change-Id: Iee72c2826aae355efe2f238fa6af38930e96c503

lib/msgport-service.c

index 3a94a13..93c95fb 100644 (file)
@@ -87,8 +87,6 @@ _on_got_message (MsgPortService *service, GVariant *data, const gchar *remote_ap
     if (remote_port   && !remote_port[0])   remote_port = NULL;
 
     service->client_cb (msgport_dbus_glue_service_get_id (service->proxy), remote_app_id, remote_port, remote_is_trusted, b);
-
-    bundle_free (b);
 }
 
 MsgPortService *