diff options
Diffstat (limited to 'libdocument/ev-document-factory.c')
-rw-r--r-- | libdocument/ev-document-factory.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libdocument/ev-document-factory.c b/libdocument/ev-document-factory.c index 4adec66..b500fdf 100644 --- a/libdocument/ev-document-factory.c +++ b/libdocument/ev-document-factory.c @@ -312,17 +312,10 @@ get_document_from_uri (const char *uri, static void free_uncompressed_uri (gchar *uri_unc) { - gchar *filename; - if (!uri_unc) return; - filename = g_filename_from_uri (uri_unc, NULL, NULL); - if (!filename) - return; - - g_unlink (filename); - g_free (filename); + ev_tmp_uri_unlink (uri_unc); g_free (uri_unc); } |