[gegl/soc-2011-warp] examples/float-lookup: not really a memory leak since it's freed when the program ends, but fix it a
- From: Michael Murà <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/soc-2011-warp] examples/float-lookup: not really a memory leak since it's freed when the program ends, but fix it a
- Date: Tue, 23 Aug 2011 23:37:30 +0000 (UTC)
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]