[gimp] plug-ins: fix memory leak in edge-neon



commit e87971e85063fd28ef89a0edf9475e98e32dba21
Author: Michael Henning <drawoc darkrefraction com>
Date:   Fri Jan 11 20:59:35 2013 -0500

    plug-ins: fix memory leak in edge-neon
    
    Found using clang's scan-build.

 plug-ins/common/edge-neon.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/common/edge-neon.c b/plug-ins/common/edge-neon.c
index 96d5066..2f234a6 100644
--- a/plug-ins/common/edge-neon.c
+++ b/plug-ins/common/edge-neon.c
@@ -506,6 +506,7 @@ neon (GimpDrawable *drawable,
   g_free (val_p);
   g_free (val_m);
   g_free (src);
+  g_free (src2);
   g_free (dest);
 }
 



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