summaryrefslogtreecommitdiff
path: root/libdocument/ev-document-factory.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-12-16 12:25:03 +0300
committerraveit65 <[email protected]>2019-01-21 14:23:51 +0100
commit70ba1fb7072fc837fb8a22752c820a4bf1a2fb9d (patch)
tree4456c496e910c643c97d47e644fe5e6c58961e32 /libdocument/ev-document-factory.c
parent1b951620b1f382d9ed1875ebb8c53c55257391bd (diff)
downloadatril-70ba1fb7072fc837fb8a22752c820a4bf1a2fb9d.tar.bz2
atril-70ba1fb7072fc837fb8a22752c820a4bf1a2fb9d.tar.xz
libdocument: drop useless freeing of NULL pointer
Diffstat (limited to 'libdocument/ev-document-factory.c')
-rw-r--r--libdocument/ev-document-factory.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdocument/ev-document-factory.c b/libdocument/ev-document-factory.c
index fd0fe466..7e96fade 100644
--- a/libdocument/ev-document-factory.c
+++ b/libdocument/ev-document-factory.c
@@ -136,8 +136,6 @@ get_document_from_uri (const char *uri,
mime_type = ev_file_get_mime_type (uri, fast, &err);
if (mime_type == NULL) {
- g_free (mime_type);
-
if (err == NULL) {
g_set_error_literal (error,
EV_DOCUMENT_ERROR,