Skip to content
Snippets Groups Projects
Commit 2c09e8a8 authored by Kahrl's avatar Kahrl
Browse files

Fix double free in createExtrudedMesh, reported by ptitSeb

parent 9575b0a2
Branches
Tags
No related merge requests found
......@@ -284,7 +284,6 @@ scene::IAnimatedMesh* createExtrudedMesh(video::ITexture *texture,
if (img2 != NULL)
{
img1->copyTo(img2);
img1->drop();
mesh = extrudeARGB(size.Width, size.Height, (u8*) img2->lock());
img2->unlock();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment