Browse Source

Merge branch '3.7' into 3.8-beta

badlogic 6 years ago
parent
commit
daee73dce0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      spine-c/spine-c/src/spine/SkeletonBinary.c

+ 2 - 0
spine-c/spine-c/src/spine/SkeletonBinary.c

@@ -649,6 +649,8 @@ static void _readVertices(spSkeletonBinary* self, _dataInput* input, spVertexAtt
 		attachment->vertices = _readFloatArray(input, verticesLength, self->scale);
 		attachment->bonesCount = 0;
 		attachment->bones = 0;
+		spFloatArray_dispose(weights);
+		spFloatArray_dispose(bones);
 		return;
 	}