Skip to content

Commit 70ba1fb

Browse files
monstaraveit65
authored andcommitted
libdocument: drop useless freeing of NULL pointer
1 parent 1b95162 commit 70ba1fb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎libdocument/ev-document-factory.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ get_document_from_uri (const char *uri,
136136
mime_type = ev_file_get_mime_type (uri, fast, &err);
137137

138138
if (mime_type == NULL) {
139-
g_free (mime_type);
140-
141139
if (err == NULL) {
142140
g_set_error_literal (error,
143141
EV_DOCUMENT_ERROR,

0 commit comments

Comments
 (0)