mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
- Unlock surface in error case of EngModifySurface.
svn path=/trunk/; revision=8816
This commit is contained in:
parent
bea41fd8f8
commit
9d3fa4fe4b
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -506,6 +506,8 @@ EngModifySurface(
|
||||||
|
|
||||||
if (!EngAssociateSurface(hsurf, hdev, flHooks))
|
if (!EngAssociateSurface(hsurf, hdev, flHooks))
|
||||||
{
|
{
|
||||||
|
EngUnlockSurface(pso);
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue