Commit 73cd70a4 authored by José Aliste's avatar José Aliste

djvu: Fix a segfault caused by a double free

In the case there were missing files in the djvu,
there was a double free of the file variable.

Fixes bug #710977
parent c5220b52
......@@ -248,7 +248,6 @@ djvu_document_load (EvDocument *document,
file = g_build_filename (base, fileinfo.id, NULL);
if (!g_file_test (file, G_FILE_TEST_EXISTS)) {
missing_files = TRUE;
g_free (file);
}
g_free (file);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment