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



commit 4d36a1fdf8ff7026119578a127215fc5c3baf0b1
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.

 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 e54a0ba..ce4acab 100644
--- a/app/widgets/gimpgradientselect.c
+++ b/app/widgets/gimpgradientselect.c
@@ -188,6 +188,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]