[gegl] warp: fix memory leak



commit cf0b09c01bd8498be5fc08396f3815411c128ff6
Author: Ell <ell_se yahoo com>
Date:   Sat May 20 04:17:47 2017 -0400

    warp: fix memory leak
    
    ... introduced by commit fe247674c3a63f18fd543fba6e91cf8edfa081b7.

 operations/common/warp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/warp.c b/operations/common/warp.c
index d9a58b4..ca81d8e 100644
--- a/operations/common/warp.c
+++ b/operations/common/warp.c
@@ -812,6 +812,8 @@ process (GeglOperation        *operation,
                        srcbuf + srcbuf_stride * srcbuf_clip.y +
                                             2 * srcbuf_clip.x,
                        sizeof (gfloat) * srcbuf_stride);
+
+      g_free (srcbuf);
     }
   else
     {


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