From f379b658b70690247e63e5d5a9eca016e5bbabab Mon Sep 17 00:00:00 2001 From: Tom Fili Date: Wed, 9 Jul 2014 17:28:11 -0400 Subject: [PATCH] Fixed crash caused by freeing and array twice. --- converter/COLLADA2GLTF/convert/meshConverter.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/converter/COLLADA2GLTF/convert/meshConverter.cpp b/converter/COLLADA2GLTF/convert/meshConverter.cpp index e69740bfba..2a746eff37 100644 --- a/converter/COLLADA2GLTF/convert/meshConverter.cpp +++ b/converter/COLLADA2GLTF/convert/meshConverter.cpp @@ -411,10 +411,6 @@ namespace GLTF __AppendIndices(cvtPrimitive, primitiveIndicesVector, binormalIndices, TEXBINORMAL, 0); } - if (verticesCountArray) { - free(verticesCountArray); - } - //TODO:refactor if (openCOLLADAMeshPrimitive->hasTangentIndices()) { unsigned int triangulatedIndicesCount = 0;