Revert to master - those changes are globally valid, but remain incomplete,
[blender.git] / source / blender / nodes / shader / node_shader_tree.c
index c3dbe2b5fe383e6af7f223acd6804f0e9729c327..c4ec55c8d06f543f0a54a64e36acac0f9f469349 100644 (file)
@@ -209,7 +209,7 @@ void ntreeGPUMaterialNodes(bNodeTree *ntree, GPUMaterial *mat, short compatibili
        ntreeExecGPUNodes(exec, mat, 1, compatibility);
        ntreeShaderEndExecTree(exec);
 
-       ntreeFreeTree(localtree, false);
+       ntreeFreeTree_ex(localtree, false);
        MEM_freeN(localtree);
 }