Added back code which was commented out for debug reasons
[blender.git] / extern / carve / patches / memory_leak_fix.patch
1 diff -r e82d852e4fb0 include/carve/csg_triangulator.hpp
2 --- a/include/carve/csg_triangulator.hpp        Wed Jan 15 13:16:14 2014 +1100
3 +++ b/include/carve/csg_triangulator.hpp        Wed Mar 05 14:43:56 2014 +0600
4 @@ -426,6 +426,7 @@
5              findPerimeter(grp_tris, vloop, grp_perim);
6              out_faces.push_back(face->create(grp_perim.begin(), grp_perim.end(), false));
7            }
8 +          delete face;
9          }
10          std::swap(faces, out_faces);
11        }