Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix double free in createExtrudedMesh, reported by ptitSeb
  • Loading branch information
kahrl committed May 12, 2013
1 parent 9575b0a commit 2c09e8a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mesh.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 2c09e8a

Please sign in to comment.