[gegl/soc-2011-warp] examples/float-lookup: not really a memory leak since it's freed when the program ends, but fix it a



commit 91607f6f3fba3063c54b9d74440a08d0ffaa098b
Author: Michael Murà <batolettre gmail com>
Date:   Wed Aug 24 01:36:16 2011 +0200

    examples/float-lookup: not really a memory leak since it's freed when the program ends, but fix it anyway

 examples/float-lookup.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/examples/float-lookup.c b/examples/float-lookup.c
index 80d45cb..c6f6370 100644
--- a/examples/float-lookup.c
+++ b/examples/float-lookup.c
@@ -65,5 +65,6 @@ gint main (int argc, gchar **argv)
   foo = sqrt (val);
   gegl_lookup_free (lookup);
 
+  g_free (rand);
   return 0;
 }



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