diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-07-05 15:08:35 (GMT) |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-07-05 15:08:35 (GMT) |
commit | 26a8622fe284cd0e4531caa56f918d7cfaf8037b (patch) | |
tree | 47b0a4729afda113db3e6ec5df62a7decf8ae000 /properties/ev-properties-view.c | |
parent | bbc6a0f5736ed843754902eb9a829dd5e173e1ac (diff) |
Plug a mem leak. HIG spacings.
2005-07-05 Christian Persch <chpe@cvs.gnome.org>
* 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.
Diffstat (limited to 'properties/ev-properties-view.c')
-rw-r--r-- | properties/ev-properties-view.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |