Unlock surface when deleting DC

svn path=/branches/reactos-yarotows/; revision=46698
This commit is contained in:
Jérôme Gardou 2010-04-03 16:42:04 +00:00
parent 736c7b0111
commit 34a9bb0081

View file

@ -377,6 +377,9 @@ ASSERT(pdc->rosdc.hGCClipRgn);
PATH_Delete(pdc->dclevel.hPath);
if(pdc->dclevel.pSurface)
SURFACE_ShareUnlockSurface(pdc->dclevel.pSurface);
PDEVOBJ_vRelease(pdc->ppdev) ;
return TRUE;