summaryrefslogtreecommitdiff
path: root/libdocument
diff options
context:
space:
mode:
authorAlexei Sorokin <[email protected]>2017-03-05 21:17:23 +0300
committerAlexei Sorokin <[email protected]>2017-03-05 21:17:23 +0300
commitf56979b9fe55ea7e26ef5de0ebdf9f00d0c585d9 (patch)
treee776a7fddb929e6b0f4d61b1754c85c5ea7640b6 /libdocument
parent00fad2c0d0fcdade570a08f046e85a4558f1fc0c (diff)
downloadatril-f56979b9fe55ea7e26ef5de0ebdf9f00d0c585d9.tar.bz2
atril-f56979b9fe55ea7e26ef5de0ebdf9f00d0c585d9.tar.xz
Revert "sometimes info->linearized is not a string" and
"crash on g_free the address 0 or 1" These hacks are no longer of need after 1a0f225
Diffstat (limited to 'libdocument')
-rw-r--r--libdocument/ev-document.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libdocument/ev-document.c b/libdocument/ev-document.c
index b3a6c62a..e7f59ded 100644
--- a/libdocument/ev-document.c
+++ b/libdocument/ev-document.c
@@ -821,11 +821,7 @@ ev_document_info_free (EvDocumentInfo *info)
g_free (info->keywords);
g_free (info->creator);
g_free (info->producer);
-
- if (info->linearized != 0 && info->linearized != 1)
- {
- g_free(info->linearized);
- }
+ g_free (info->linearized);
g_free (info->security);
ev_document_license_free (info->license);