Author: neo
Date: Wed Jan 16 11:48:20 2008
New Revision: 1842
URL: http://svn.gnome.org/viewvc/gegl?rev=1842&view=rev
Log:
2008-01-16 Sven Neumann <[EMAIL PROTECTED]>
* gegl/graph/gegl-node.c (gegl_node_get_bounding_box): don't leak id.
Modified:
trunk/ChangeLog
trunk/gegl/graph/gegl-node.c
Modified: trunk/gegl/graph/gegl-node.c
==============================================================================
--- trunk/gegl/graph/gegl-node.c (original)
+++ trunk/gegl/graph/gegl-node.c Wed Jan 16 11:48:20 2008
@@ -1412,7 +1412,7 @@
GeglVisitor *prepare_visitor;
GeglVisitor *have_visitor;
GeglVisitor *finish_visitor;
- guchar *id = g_malloc (1);
+ guchar *id;
gint i;
GeglPad *pad;
@@ -1428,6 +1428,8 @@
return dummy;
g_object_ref (root);
+ id = g_malloc (1);
+
for (i = 0; i < 2; i++)
{
prepare_visitor = g_object_new (GEGL_TYPE_PREPARE_VISITOR, "id", id,
NULL);
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development
mailing list. Email [EMAIL PROTECTED] if interested.