Skip to content
Permalink
Browse files

Fix double free in createExtrudedMesh, reported by ptitSeb

  • Loading branch information...
kahrl committed May 12, 2013
1 parent 9575b0a commit 2c09e8a84cac653b85bba3c85d781e24b5d6f4f8
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/mesh.cpp
@@ -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 comments on commit 2c09e8a

Please sign in to comment.
You can’t perform that action at this time.