blender/extern/carve/patches/memory_leak_fix.patch
Sergey Sharybin a659d73b1d Added back code which was commented out for debug reasons
Also added a patchset for Carve's memory leak fix.
2014-03-05 14:52:00 +06:00

12 lines
462 B
Diff

diff -r e82d852e4fb0 include/carve/csg_triangulator.hpp
--- a/include/carve/csg_triangulator.hpp Wed Jan 15 13:16:14 2014 +1100
+++ b/include/carve/csg_triangulator.hpp Wed Mar 05 14:43:56 2014 +0600
@@ -426,6 +426,7 @@
findPerimeter(grp_tris, vloop, grp_perim);
out_faces.push_back(face->create(grp_perim.begin(), grp_perim.end(), false));
}
+ delete face;
}
std::swap(faces, out_faces);
}