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:
@@ -507,7 +507,7 @@ void TinyRendererVisualShapeConverter::convertVisualShapes(int linkIndex, const
|
|||||||
}
|
}
|
||||||
for (int i=0;i<textures.size();i++)
|
for (int i=0;i<textures.size();i++)
|
||||||
{
|
{
|
||||||
delete textures[i].textureData;
|
free(textures[i].textureData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user