summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,