[Telepathy-commits] [telepathy-mission-control/master] Don't leak the GError

Alberto Mardegan alberto.mardegan at nokia.com
Tue Feb 10 00:48:08 PST 2009


---
 src/mcd-dispatcher.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index bd89d04..1899655 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -778,6 +778,8 @@ _mcd_dispatcher_handle_channel_async_cb (DBusGProxy * proxy, GError * error,
 			      G_CALLBACK(disconnect_proxy_destry_cb),
 			      unique_name_proxy);
 	}
+        else
+            g_error_free (unique_proxy_error);
     }
 
     mcd_channel_set_status (channel, MCD_CHANNEL_STATUS_DISPATCHED);
-- 
1.5.6.5




More information about the telepathy-commits mailing list