Problem:
In "vcg/complex/algorithms/clean.h" at line 818:
nmfBit[0]= FaceType::NewBitFlag();
nmfBit[1]= FaceType::NewBitFlag();
nmfBit[2]= FaceType::NewBitFlag();
However, at the end of the algorithm there are no corresponding "DeleteBitFlag" calls.
Solution:
At line 860 insert:
FaceType::DeleteBitFlag(nmfBit[2]);
FaceType::DeleteBitFlag(nmfBit[1]);
FaceType::DeleteBitFlag(nmfBit[0]);
Anonymous