- Unlock surface in error case of EngModifySurface.

svn path=/trunk/; revision=8816
This commit is contained in:
Filip Navara 2004-03-20 17:33:10 +00:00
parent bea41fd8f8
commit 9d3fa4fe4b

View file

@ -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;
}