don't try to free a NULL object.

patch by hto (hto at dev dot null)
See issue #3486 for more details.

svn path=/trunk/; revision=34393
This commit is contained in:
Ged Murphy 2008-07-09 14:20:08 +00:00
parent a4302a3894
commit 5a9807ee6c

View file

@ -2085,6 +2085,7 @@ fail:
EngDeleteXlate(XlateObj);
if(TextObj != NULL)
TEXTOBJ_UnlockText(TextObj);
if (BitmapObj != NULL)
BITMAPOBJ_UnlockBitmap(BitmapObj);
if (hBrushBg != NULL)
{