[gimp/gimp-2-8] app: fix memory leak in widgets/gimpgradientselect.c



commit 5bd861330f6e5d8d09a3b95cb4af8e45cfcca433
Author: Michael Henning <drawoc darkrefraction com>
Date:   Thu Jan 10 17:02:02 2013 -0500

    app: fix memory leak in widgets/gimpgradientselect.c
    
    Found using clang's scan-build.
    (cherry picked from commit 42c74722e1f610579e53711706b8fbefc439a058)

 app/widgets/gimpgradientselect.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpgradientselect.c b/app/widgets/gimpgradientselect.c
index edb9fea..4dc9c23 100644
--- a/app/widgets/gimpgradientselect.c
+++ b/app/widgets/gimpgradientselect.c
@@ -187,6 +187,7 @@ gimp_gradient_select_run_callback (GimpPdbDialog  *dialog,
                                         G_TYPE_NONE);
 
   gimp_array_free (array);
+  g_free (values);
 
   return return_vals;
 }



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