[gimp] plug-ins: fix memory leak in HEIF import/export



commit 7e549246d8cc756626c59747e54e8806fbf1b81e
Author: Daniel Novomesky <dnovomesky gmail com>
Date:   Thu Oct 28 21:35:43 2021 +0200

    plug-ins: fix memory leak in HEIF import/export

 plug-ins/common/file-heif.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-heif.c b/plug-ins/common/file-heif.c
index 5d04c182df..398af2238c 100644
--- a/plug-ins/common/file-heif.c
+++ b/plug-ins/common/file-heif.c
@@ -845,7 +845,7 @@ load_image (GFile              *file,
   const char               *encoding;
 
   gimp_progress_init_printf (_("Opening '%s'"),
-                             g_file_get_parse_name (file));
+                             gimp_file_get_utf8_name (file));
 
   *status = GIMP_PDB_EXECUTION_ERROR;
 
@@ -1525,7 +1525,7 @@ save_image (GFile                        *file,
     }
 
   gimp_progress_init_printf (_("Exporting '%s' using %s encoder"),
-                             g_file_get_parse_name (file), encoder_name);
+                             gimp_file_get_utf8_name (file), encoder_name);
 
   width   = gimp_drawable_get_width  (drawable);
   height  = gimp_drawable_get_height (drawable);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]