[evolution-data-server] free response objects in e_gw_container_get_connection - bgo#622366



commit 2d3017dc5953bc92104ce565d99f5c9e9b0f17af
Author: Michael Meeks <michael meeks novell com>
Date:   Tue Aug 3 17:29:10 2010 +0100

    free response objects in e_gw_container_get_connection - bgo#622366

 servers/groupwise/e-gw-connection.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/servers/groupwise/e-gw-connection.c b/servers/groupwise/e-gw-connection.c
index 8699021..8b7d259 100644
--- a/servers/groupwise/e-gw-connection.c
+++ b/servers/groupwise/e-gw-connection.c
@@ -840,9 +840,11 @@ e_gw_connection_get_container (EGwConnection *cnc, const gchar * uid)
 
 				subparam = soup_soap_response_get_first_parameter_by_name (response, "folder");
 				container = e_gw_container_new_from_soap_parameter (subparam);
+				g_object_unref (response);
 
 				return container;
 		}
+		g_object_unref (response);
 
 		return NULL;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]