delete -> free due to the use of stb_image.h (which uses malloc)

This commit is contained in:
Erwin Coumans 2016-09-16 16:25:13 -07:00
parent dd791e2222
commit 8355f09b21

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);
}
}
}