Skip to content
Permalink
Browse files

libdocument: drop useless freeing of NULL pointer

  • Loading branch information...
monsta authored and raveit65 committed Dec 16, 2018
1 parent 1b95162 commit 70ba1fb7072fc837fb8a22752c820a4bf1a2fb9d
Showing with 0 additions and 2 deletions.
  1. +0 −2 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,

0 comments on commit 70ba1fb

Please sign in to comment.
You can’t perform that action at this time.