X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=properties%2Fev-properties-view.c;h=142b5099dab869c179e71457b7c10036622498be;hb=848665b157185945d190a7a746d054d7f5d5e6e0;hp=70c337e2dfbeb001359ba7673867a148590ac986;hpb=8f535d303b8985db357abc54cb4d3fe1ff7e84bd;p=evince.git diff --git a/properties/ev-properties-view.c b/properties/ev-properties-view.c index 70c337e2..142b5099 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);