pidgin: 43973692: Unleak

nosnilmot at pidgin.im nosnilmot at pidgin.im
Fri May 23 09:45:37 EDT 2008


-----------------------------------------------------------------
Revision: 43973692751b7c4e1375e090365f75a148798aed
Ancestor: 69abb190985a5392d3b2e3296db80accf46bf74b
Author: nosnilmot at pidgin.im
Date: 2008-05-23T13:39:22
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/43973692751b7c4e1375e090365f75a148798aed

Modified files:
        libpurple/network.c

ChangeLog: 

Unleak

-------------- next part --------------
============================================================
--- libpurple/network.c	5f1f51d4414a631e2d744d6d7ea5fdc95accec12
+++ libpurple/network.c	e23154bedd473ccb41348ccb2d864543f1019499
@@ -663,6 +663,7 @@ nm_get_network_state(void)
 
 	if (!dbus_g_proxy_call(nm_proxy, "state", &err, G_TYPE_INVALID, G_TYPE_UINT, &state, G_TYPE_INVALID)) {
 		/* XXX: Print an error? */
+		g_error_free(err);
 		return NM_STATE_UNKNOWN;
 	}
 


More information about the Commits mailing list