[evolution-patches] memory leak in e-icon-factory
- From: Rodrigo Moya <rodrigo novell com>
- To: Evolution Patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] memory leak in e-icon-factory
- Date: Thu, 05 Aug 2004 14:27:47 +0200
While fixing #62030, found this memory leak in e-icon-factory.c
--
Rodrigo Moya <rodrigo novell com>
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/e-util/ChangeLog,v
retrieving revision 1.473
diff -u -p -r1.473 ChangeLog
--- ChangeLog 2 Aug 2004 18:34:55 -0000 1.473
+++ ChangeLog 5 Aug 2004 12:27:01 -0000
@@ -1,3 +1,8 @@
+2004-08-05 Rodrigo Moya <rodrigo novell com>
+
+ * e-icon-factory.c (e_icon_factory_get_icon): don't leak the icon_key
+ temporary string.
+
2004-08-01 JP Rosevear <jpr novell com>
* e-pilot-util.c (e_pilot_get_sync_source): find the source with
Index: e-icon-factory.c
===================================================================
RCS file: /cvs/gnome/evolution/e-util/e-icon-factory.c,v
retrieving revision 1.9
diff -u -p -r1.9 e-icon-factory.c
--- e-icon-factory.c 3 Jun 2004 15:01:33 -0000 1.9
+++ e-icon-factory.c 5 Aug 2004 12:27:01 -0000
@@ -317,6 +317,8 @@ e_icon_factory_get_icon (const char *ico
}
pthread_mutex_unlock (&lock);
+
+ g_free (icon_key);
return pixbuf;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]