don't leak the PangoContext

2002-04-29  Havoc Pennington  <hp@pobox.com>

	* src/ui.c (meta_ui_init): don't leak the PangoContext
This commit is contained in:
Havoc Pennington 2002-04-29 06:08:59 +00:00 committed by Havoc Pennington
parent 53268f985f
commit a32503a75a
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-04-29 Havoc Pennington <hp@pobox.com>
* src/ui.c (meta_ui_init): don't leak the PangoContext
2002-04-28 Anders Carlsson <andersca@gnu.org>
* src/display.c: (meta_display_open):

View File

@ -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));
}
}