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



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

    app: during splash-screen lookup, don't leak GFileEnumerator

 app/gui/splash.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/app/gui/splash.c b/app/gui/splash.c
index 74520ac826..a82bc8144f 100644
--- a/app/gui/splash.c
+++ b/app/gui/splash.c
@@ -664,6 +664,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]