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



commit 885bb8dc71bc48e2efe58b6012133357f995cc5a
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]