changeset 23045:8900c3ec1c86

Unleak applied changes from 69abb190985a5392d3b2e3296db80accf46bf74b through 43973692751b7c4e1375e090365f75a148798aed
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 19 Jun 2008 18:12:54 +0000
parents ca2e48afba25
children cae9ac6cb1a0
files libpurple/network.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/network.c	Thu Jun 19 06:46:15 2008 +0000
+++ b/libpurple/network.c	Thu Jun 19 18:12:54 2008 +0000
@@ -663,6 +663,7 @@
 
 	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;
 	}