X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=backend%2Fev-document.c;h=714becb19140c9f9cc139f25bd0794403e22acf0;hb=174a8bc98d92b1123ec70fef51e0f64181cc8ab6;hp=1b2f778181a070bc4d346b7dfde4fd0165fa05ac;hpb=bf325e9279324f02bcadc0145cd553ed94c23d2d;p=evince.git diff --git a/backend/ev-document.c b/backend/ev-document.c index 1b2f7781..714becb1 100644 --- a/backend/ev-document.c +++ b/backend/ev-document.c @@ -240,3 +240,18 @@ ev_document_render_pixbuf (EvDocument *document, return retval; } + +void +ev_document_info_free (EvDocumentInfo *info) +{ + if (info == NULL) + return; + + g_free (info->title); + g_free (info->format); + g_free (info->author); + g_free (info->subject); + g_free (info->keywords); + + g_free (info); +}