gegl r3035 - trunk/gegl/graph



Author: martinn
Date: Sat Apr 11 14:50:15 2009
New Revision: 3035
URL: http://svn.gnome.org/viewvc/gegl?rev=3035&view=rev

Log:
No need to init GeglNodePrivate pointers to NULL, they are malloc0ed

Modified:
   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	Sat Apr 11 14:50:15 2009
@@ -204,12 +204,6 @@
   self->is_graph    = FALSE;
   self->cache       = NULL;
 
-  priv->sinks       = NULL;
-  priv->sources     = NULL;
-  priv->parent      = NULL;
-  priv->children    = NULL;
-  priv->name        = NULL;
-  priv->processor   = NULL;
   priv->contexts    = g_hash_table_new (NULL, NULL);
 }
 



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