1 diff -ur collada2gltf.org/COLLADA2GLTFWriter.cpp collada2gltf/COLLADA2GLTFWriter.cpp
2 --- collada2gltf.org/COLLADA2GLTFWriter.cpp 2014-07-06 06:42:01.305850400 +0200
3 +++ collada2gltf/COLLADA2GLTFWriter.cpp 2014-07-06 06:45:57.000840753 +0200
6 COLLADAFW::Root root(&this->_loader, this);
7 this->_loader.registerExtraDataCallbackHandler(this->_extraDataHandler);
8 - if (!root.loadDocument(asset->getInputFilePath()))
9 + if (!root.loadDocument(asset->getInputFilePath())) {
10 + delete _extraDataHandler;
15 + delete _extraDataHandler;