libgnomeui r5634 - in trunk: . libgnomeui
- From: friemann svn gnome org
- To: svn-commits-list gnome org
- Subject: libgnomeui r5634 - in trunk: . libgnomeui
- Date: Sat, 12 Jul 2008 09:46:32 +0000 (UTC)
Author: friemann
Date: Sat Jul 12 09:46:31 2008
New Revision: 5634
URL: http://svn.gnome.org/viewvc/libgnomeui?rev=5634&view=rev
Log:
2008-07-12 Felix Riemann <friemann svn gnome org>
* libgnomeui/gnome-thumbnail.c:
(gnome_thumbnail_factory_save_thumbnail),
(gnome_thumbnail_factory_create_failed_thumbnail):
Fix leaked GChecksums. Fixes bug #542592.
Modified:
trunk/ChangeLog
trunk/libgnomeui/gnome-thumbnail.c
Modified: trunk/libgnomeui/gnome-thumbnail.c
==============================================================================
--- trunk/libgnomeui/gnome-thumbnail.c (original)
+++ trunk/libgnomeui/gnome-thumbnail.c Sat Jul 12 09:46:31 2008
@@ -841,6 +841,8 @@
NULL);
g_free (file);
+ g_checksum_free (checksum);
+
tmp_path = g_strconcat (path, ".XXXXXX", NULL);
tmp_fd = g_mkstemp (tmp_path);
@@ -947,6 +949,8 @@
NULL);
g_free (file);
+ g_checksum_free (checksum);
+
tmp_path = g_strconcat (path, ".XXXXXX", NULL);
tmp_fd = g_mkstemp (tmp_path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]