Skip to content

Commit

Permalink
libdocument: drop useless freeing of NULL pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
monsta authored and raveit65 committed Jan 21, 2019
1 parent 1b95162 commit 70ba1fb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libdocument/ev-document-factory.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 70ba1fb

Please sign in to comment.