gdi32: Free the client-side emf dc info.

Signed-off-by: Huw Davies <huw@codeweavers.com>
This commit is contained in:
Huw Davies 2022-05-24 12:25:08 +01:00 committed by Alexandre Julliard
parent 0c8a076e78
commit 6a9a80679d

View file

@ -2321,6 +2321,8 @@ void EMFDC_DeleteDC( DC_ATTR *dc_attr )
if (emf->handles[index])
GDI_hdc_not_using_object( emf->handles[index], emf->dc_attr->hdc );
HeapFree( GetProcessHeap(), 0, emf->handles );
HeapFree( GetProcessHeap(), 0, emf );
dc_attr->emf = NULL;
}
/*******************************************************************