From 26a8622fe284cd0e4531caa56f918d7cfaf8037b Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 05 Jul 2005 15:08:35 +0000 Subject: Plug a mem leak. HIG spacings. 2005-07-05 Christian Persch * properties/ev-properties-view.c: (ev_properties_view_set_info): Plug a mem leak. * shell/ev-properties-dialog.c: (ev_properties_dialog_init): HIG spacings. --- (limited to 'properties/ev-properties-view.c') diff --git a/properties/ev-properties-view.c b/properties/ev-properties-view.c index 70c337e..142b509 100644 --- a/properties/ev-properties-view.c +++ b/properties/ev-properties-view.c @@ -222,6 +222,7 @@ ev_properties_view_set_info (EvPropertiesView *properties, const EvDocumentInfo if (info->fields_mask & EV_DOCUMENT_INFO_FORMAT) { text = g_strdup_printf ("%s", info->format); set_property (xml, FORMAT_PROPERTY, text); + g_free (text); } if (info->fields_mask & EV_DOCUMENT_INFO_N_PAGES) { text = g_strdup_printf ("%d", info->n_pages); -- cgit v0.9.1