summaryrefslogtreecommitdiff
path: root/gtk/gtkaboutdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-09-22 20:33:15 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-09-22 20:33:15 +0000
commit68b511254f1c43d455fe4f826c80aff36ca4a8c1 (patch)
treec58a0c346546e9f7723f573729a004b0e6fd363f /gtk/gtkaboutdialog.c
parent997980a122402ac12fc09c46011055a28deab7d9 (diff)
downloadgtk+-68b511254f1c43d455fe4f826c80aff36ca4a8c1.tar.gz
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)
Diffstat (limited to 'gtk/gtkaboutdialog.c')
-rw-r--r--gtk/gtkaboutdialog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index 9f8ca60701..3d5fb0356a 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -396,6 +396,9 @@ gtk_about_dialog_finalize (GObject *object)
g_strfreev (priv->documenters);
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);
}