From a32503a75ad975c30309bbce09496bd92071c4bf Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Mon, 29 Apr 2002 06:08:59 +0000 Subject: [PATCH] don't leak the PangoContext 2002-04-29 Havoc Pennington * src/ui.c (meta_ui_init): don't leak the PangoContext --- ChangeLog | 4 ++++ src/ui.c | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index dbe6e78df..24331369b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-04-29 Havoc Pennington + + * src/ui.c (meta_ui_init): don't leak the PangoContext + 2002-04-28 Anders Carlsson * src/display.c: (meta_display_open): diff --git a/src/ui.c b/src/ui.c index 1dbd662a9..e81acd7b9 100644 --- a/src/ui.c +++ b/src/ui.c @@ -65,6 +65,7 @@ meta_ui_init (int *argc, char ***argv) pango_font_metrics_unref (metrics); pango_font_description_free (font_desc); + g_object_unref (G_OBJECT (context)); } }