projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9575b0a
)
Fix double free in createExtrudedMesh, reported by ptitSeb
author
Kahrl
<kahrl@gmx.net>
Sun, 12 May 2013 04:28:33 +0000
(06:28 +0200)
committer
Kahrl
<kahrl@gmx.net>
Sun, 12 May 2013 04:28:33 +0000
(06:28 +0200)
src/mesh.cpp
patch
|
blob
|
history
diff --git
a/src/mesh.cpp
b/src/mesh.cpp
index da0dbe44235d3b049d1a273c96d09865184a2100..fd35a3a062d6b348fa58b7eb202de48d2d222409 100644
(file)
--- a/
src/mesh.cpp
+++ b/
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();