Alexandre Julliard : gdi32: Release GDI handles before freeing the object.