Skip to content

Commit 2c09e8a

Browse files
committedMay 12, 2013
Fix double free in createExtrudedMesh, reported by ptitSeb
1 parent 9575b0a commit 2c09e8a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

Diff for: ‎src/mesh.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ scene::IAnimatedMesh* createExtrudedMesh(video::ITexture *texture,
284284
if (img2 != NULL)
285285
{
286286
img1->copyTo(img2);
287-
img1->drop();
288287

289288
mesh = extrudeARGB(size.Width, size.Height, (u8*) img2->lock());
290289
img2->unlock();

0 commit comments

Comments
 (0)
Please sign in to comment.