gthumb r2507 - in branches/gthumb-2-10: . libgthumb
- From: mjc svn gnome org
- To: svn-commits-list gnome org
- Subject: gthumb r2507 - in branches/gthumb-2-10: . libgthumb
- Date: Fri, 13 Feb 2009 18:31:46 +0000 (UTC)
Author: mjc
Date: Fri Feb 13 18:31:46 2009
New Revision: 2507
URL: http://svn.gnome.org/viewvc/gthumb?rev=2507&view=rev
Log:
2009-02-13 Michael J. Chudobiak <mjc svn gnome org>
* libgthumb/image-loader.c: (image_loader_finalize__step2),
(image_loader_finalize):
Fixed bug #570473, gthumb write to freed memory.
Patch by Jerry Tan <jerry tan sun com>.
Modified:
branches/gthumb-2-10/ChangeLog
branches/gthumb-2-10/libgthumb/image-loader.c
Modified: branches/gthumb-2-10/libgthumb/image-loader.c
==============================================================================
--- branches/gthumb-2-10/libgthumb/image-loader.c (original)
+++ branches/gthumb-2-10/libgthumb/image-loader.c Fri Feb 13 18:31:46 2009
@@ -148,8 +148,6 @@
g_mutex_free (priv->start_loading_mutex);
g_mutex_free (priv->exit_thread_mutex);
- g_free (priv);
- il->priv = NULL;
/* Chain up */
G_OBJECT_CLASS (parent_class)->finalize (object);
@@ -193,6 +191,9 @@
object,
FALSE,
FALSE);
+ g_free (priv);
+ il->priv = NULL;
+
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]