Don't leak cursors. (#153468, Christian Persch)

2004-09-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't leak
	cursors.  (#153468, Christian Persch)
This commit is contained in:
Matthias Clasen 2004-09-22 20:33:15 +00:00 committed by Matthias Clasen
parent 997980a122
commit 68b511254f
5 changed files with 15 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2004-09-22 Matthias Clasen <mclasen@redhat.com> 2004-09-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't leak
cursors. (#153468, Christian Persch)
* gtk/gtktreeview.c (gtk_tree_view_key_press): Don't leak old_text. * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't leak old_text.
(#153467, Christian Persch) (#153467, Christian Persch)

View File

@ -1,5 +1,8 @@
2004-09-22 Matthias Clasen <mclasen@redhat.com> 2004-09-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't leak
cursors. (#153468, Christian Persch)
* gtk/gtktreeview.c (gtk_tree_view_key_press): Don't leak old_text. * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't leak old_text.
(#153467, Christian Persch) (#153467, Christian Persch)

View File

@ -1,5 +1,8 @@
2004-09-22 Matthias Clasen <mclasen@redhat.com> 2004-09-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't leak
cursors. (#153468, Christian Persch)
* gtk/gtktreeview.c (gtk_tree_view_key_press): Don't leak old_text. * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't leak old_text.
(#153467, Christian Persch) (#153467, Christian Persch)

View File

@ -1,5 +1,8 @@
2004-09-22 Matthias Clasen <mclasen@redhat.com> 2004-09-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't leak
cursors. (#153468, Christian Persch)
* gtk/gtktreeview.c (gtk_tree_view_key_press): Don't leak old_text. * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't leak old_text.
(#153467, Christian Persch) (#153467, Christian Persch)

View File

@ -396,6 +396,9 @@ gtk_about_dialog_finalize (GObject *object)
g_strfreev (priv->documenters); g_strfreev (priv->documenters);
g_strfreev (priv->artists); g_strfreev (priv->artists);
gdk_cursor_unref (priv->hand_cursor);
gdk_cursor_unref (priv->regular_cursor);
G_OBJECT_CLASS (gtk_about_dialog_parent_class)->finalize (object); G_OBJECT_CLASS (gtk_about_dialog_parent_class)->finalize (object);
} }