gdi32: Release GDI handles before freeing the object.
commitde831f334c8a2b09a96bc881f8359a6f1c766729
authorAlexandre Julliard <julliard@winehq.org>
Wed, 28 Jan 2009 17:45:21 +0000 (28 18:45 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 28 Jan 2009 17:45:21 +0000 (28 18:45 +0100)
tree027ac66f1a04c6def40a3f262209e55910bb9528
parent311c53db4f485a5905d7fce95bcd116ca4044709
gdi32: Release GDI handles before freeing the object.

This makes it unnecessary to hold the GDI lock during destruction.
dlls/gdi32/bitmap.c
dlls/gdi32/brush.c
dlls/gdi32/dc.c
dlls/gdi32/enhmetafile.c
dlls/gdi32/font.c
dlls/gdi32/gdi_private.h
dlls/gdi32/gdiobj.c
dlls/gdi32/metafile.c
dlls/gdi32/palette.c
dlls/gdi32/pen.c
dlls/gdi32/region.c