From f56979b9fe55ea7e26ef5de0ebdf9f00d0c585d9 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Sun, 5 Mar 2017 21:17:23 +0300 Subject: 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 --- libdocument/ev-document.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libdocument') 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); -- cgit v1.2.1