[gimp/gimp-2-10] app: during splash-screen lookup, don't leak GFileEnumerator



commit 464f25947320c15376d35117b5a31bfe0bd1ac3b
Author: Ell <ell_se yahoo com>
Date:   Tue Aug 11 21:50:00 2020 +0300

    app: during splash-screen lookup, don't leak GFileEnumerator
    
    (cherry picked from commit e09bb089a8b04372ac66aea8dc15c97301245683)

 app/gui/splash.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/app/gui/splash.c b/app/gui/splash.c
index fbf68b96a3..1499af760a 100644
--- a/app/gui/splash.c
+++ b/app/gui/splash.c
@@ -694,6 +694,8 @@ splash_image_pick_from_dirs (GList    *dirs,
                 g_object_unref (child);
               g_object_unref (info);
             }
+
+          g_object_unref (enumerator);
         }
     }
 


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