Commit 6a9a8067 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdi32: Free the client-side emf dc info.

parent 0c8a076e
......@@ -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;
}
/*******************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment