]> www.fi.muni.cz Git - evince.git/blobdiff - tiff/tiff-document.c
Updated Czech translation.
[evince.git] / tiff / tiff-document.c
index cb64678bf95b957d152c4dd9d17b29b2c8b55aef..7f27ad600fba5f01dbf0752ce3ab5cf604ccc683 100644 (file)
@@ -93,7 +93,6 @@ tiff_document_load (EvDocument  *document,
   TIFF *tiff;
 
   push_handlers ();
   TIFF *tiff;
 
   push_handlers ();
-  /* FIXME: We could actually load uris  */
   filename = g_filename_from_uri (uri, NULL, error);
   if (!filename)
     {
   filename = g_filename_from_uri (uri, NULL, error);
   if (!filename)
     {
@@ -116,6 +115,7 @@ tiff_document_load (EvDocument  *document,
     }
   tiff_document->tiff = tiff;
   g_free (tiff_document->uri);
     }
   tiff_document->tiff = tiff;
   g_free (tiff_document->uri);
+  g_free (filename);
   tiff_document->uri = g_strdup (uri);
 
   pop_handlers ();
   tiff_document->uri = g_strdup (uri);
 
   pop_handlers ();