diff --git a/reactos/subsystems/win32/win32k/objects/metafile.c b/reactos/subsystems/win32/win32k/objects/metafile.c index de847fc3e74..908e2cdcfbd 100644 --- a/reactos/subsystems/win32/win32k/objects/metafile.c +++ b/reactos/subsystems/win32/win32k/objects/metafile.c @@ -202,6 +202,7 @@ NtGdiCloseEnhMetaFile(HDC hDC) Dc->emh = NULL; /* So it won't be deleted */ DC_UnlockDc(Dc); + NtGdiDeleteObjectApp(hDC); return hmf; }