Add build option for using Visual Leak Detector for debugging memory leaks. Initial report:

- IfcConvert (no arguments): 2 leaks (140 bytes) (from OCE)
- IfcConvert (acad2010_objects.ifc): 47 memory leaks (6,158 bytes)
- IfcGeomServer: 2 leaks (from OCE)
- IfcOpenHouse: 11,952 leaks (1,169,658 bytes)!
- IfcParseExamples (acad2010_objects.ifc): 40 memory leaks (4,564 bytes)
This commit is contained in:
Stinkfist0
2016-02-07 00:30:08 +02:00
parent 33772a4710
commit cde1c5f2ee
5 changed files with 29 additions and 1 deletions
+4
View File
@@ -19,6 +19,10 @@
#include "../ifcparse/IfcFile.h"
#if USE_VLC
#include <vld.h>
#endif
using namespace IfcSchema;
int main(int argc, char** argv) {