[Gegl-developer] Memory can not be released

2013-09-12 Thread 史龙
Hi,all When I call the following function, my memory will rapidly increase.Can not be released after the call is completed.Please help me diagnose.Thank you very much. void processXmlData(const char *pXmlData) { GeglNode*node1 = NULL; GeglNode*node2 = NULL; GeglNod

Re: [Gegl-developer] Memory can not be released

2013-09-12 Thread Daniel Sabo
What do you mean by "can not be released"? You shouldn't unref node2 and node3 because gegl_node_new_child gives the only reference to the parent node (node1 in this case), but if something is leaking after you free processor, node1 and buffer that would be a bug. On Thu, Sep 12, 2013 at 12:21 AM