[gegl] common/warp: free stamp lut when done with processing



commit 7d6311cd2379aa49219ef35f5e40081d6722a05d
Author: Alexia Death <alexiadeath gmail com>
Date:   Mon Feb 17 20:51:33 2014 +0200

    common/warp: free stamp lut when done with processing

 operations/common/warp.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/warp.c b/operations/common/warp.c
index de1949d..4efe3b8 100644
--- a/operations/common/warp.c
+++ b/operations/common/warp.c
@@ -388,6 +388,10 @@ process (GeglOperation       *operation,
   /* prepare for the recomputing of the op */
   priv->last_point_set = FALSE;
 
+  /* free the LUT */
+  g_free (priv->lookup);
+  priv->lookup = NULL;
+
   return TRUE;
 }
 


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