Merge pull request #792 from erwincoumans/master

delete -> free due to the use of stb_image.h (which uses malloc)
This commit is contained in:
erwincoumans
2016-09-17 00:38:32 +01:00
committed by GitHub

View File

@@ -507,7 +507,7 @@ void TinyRendererVisualShapeConverter::convertVisualShapes(int linkIndex, const
}
for (int i=0;i<textures.size();i++)
{
delete textures[i].textureData;
free(textures[i].textureData);
}
}
}