[gimp] Bug 595605 - memory leaks in plug-ins/common/curve-bend.c



commit 19d4ad70f939ca173e32f0e65fc34e69f11a9ac3
Author: Nelson A. de Oliveira <naoliv debian org>
Date:   Wed Nov 18 17:48:24 2009 -0200

    Bug 595605 - memory leaks in plug-ins/common/curve-bend.c
    
    Add missing g_free() calls.

 plug-ins/common/curve-bend.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/common/curve-bend.c b/plug-ins/common/curve-bend.c
index 8ed7751..a091de7 100644
--- a/plug-ins/common/curve-bend.c
+++ b/plug-ins/common/curve-bend.c
@@ -3168,6 +3168,9 @@ p_vertical_bend (BenderDialog *cd,
             }
         }
     }
+
+  g_free (last_arr);
+  g_free (first_arr);
 }
 
 /* ============================================================================



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