[evolution-data-server] Fix a memory leak recently created (less work for Milan)



commit 7d4f72fd959750d18899113d91cc19955efec210
Author: Fridrich Å trba <fridrich strba bluewin ch>
Date:   Wed Sep 8 10:08:58 2010 +0200

    Fix a memory leak recently created (less work for Milan)

 .../groupwise/e-cal-backend-groupwise-utils.c      |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c b/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c
index c621e84..ae314d7 100644
--- a/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c
+++ b/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c
@@ -917,6 +917,7 @@ set_attachments_to_cal_component (EGwItem *item, ECalComponent *comp, ECalBacken
 		if (!attach_file_url) {
 			g_message ("Could not get attach_file_url %s \n", error->message);
 			g_clear_error (&error);
+			g_free (filename);
 			return;
 		}
 



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