Skip to content

Commit

Permalink
Merge pull request #299 from tfili/extra-free-crash
Browse files Browse the repository at this point in the history
Fixed crash caused by freeing and array twice.
  • Loading branch information
fabrobinet committed Jul 9, 2014
2 parents 7e80104 + f379b65 commit 8a3db4f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions converter/COLLADA2GLTF/convert/meshConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8a3db4f

Please sign in to comment.