Commit 3aa42606 authored by cutealien's avatar cutealien

Prevent memoryleak in stabilizeScreenBackground.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4173 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 4acc86e8
......@@ -376,7 +376,11 @@ void stabilizeScreenBackground(irr::video::IVideoDriver * driver,
}
if(status)
{
screenshot->drop();
return;
}
screenshot->drop();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment