diff options
Diffstat (limited to 'libdocument')
-rw-r--r-- | libdocument/ev-document.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libdocument/ev-document.c b/libdocument/ev-document.c index 70349dcb..19d51d9b 100644 --- a/libdocument/ev-document.c +++ b/libdocument/ev-document.c @@ -753,7 +753,12 @@ ev_document_info_free (EvDocumentInfo *info) g_free (info->keywords); g_free (info->creator); g_free (info->producer); - g_free (info->linearized); + + if (info->linearized != 0 && info->linearized != 1) + { + g_free(info->linearized); + } + g_free (info->security); ev_document_license_free (info->license); |