mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Unlock surface in error case of EngModifySurface.
svn path=/trunk/; revision=8816
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: surface.c,v 1.34 2004/03/17 16:05:29 navaraf Exp $
|
||||
/* $Id: surface.c,v 1.35 2004/03/20 17:33:10 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -506,6 +506,8 @@ EngModifySurface(
|
||||
|
||||
if (!EngAssociateSurface(hsurf, hdev, flHooks))
|
||||
{
|
||||
EngUnlockSurface(pso);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user