mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-24 08:26:23 +00:00
gdi32: Free the client-side emf dc info.
Signed-off-by: Huw Davies <huw@codeweavers.com>
This commit is contained in:
parent
0c8a076e78
commit
6a9a80679d
|
@ -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;
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
|
|
Loading…
Reference in a new issue