Don't leak expander pixbufs. (#316946, Tommi Komulainen)

2005-09-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize):
	Don't leak expander pixbufs.  (#316946, Tommi Komulainen)
This commit is contained in:
Matthias Clasen
2005-09-23 16:36:30 +00:00
committed by Matthias Clasen
parent 596dbc3ce8
commit 1b7d3176f5
3 changed files with 14 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2005-09-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize):
Don't leak expander pixbufs. (#316946, Tommi Komulainen)
2005-09-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_class_init): Fix the documentation

View File

@@ -1,3 +1,8 @@
2005-09-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize):
Don't leak expander pixbufs. (#316946, Tommi Komulainen)
2005-09-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_class_init): Fix the documentation

View File

@@ -238,6 +238,10 @@ gtk_cell_renderer_pixbuf_finalize (GObject *object)
if (cellpixbuf->pixbuf)
g_object_unref (cellpixbuf->pixbuf);
if (cellpixbuf->pixbuf_expander_open)
g_object_unref (cellpixbuf->pixbuf_expander_open);
if (cellpixbuf->pixbuf_expander_closed)
g_object_unref (cellpixbuf->pixbuf_expander_closed);
g_free (priv->stock_id);
g_free (priv->stock_detail);