mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:30:58 +00:00
gdi32: Fix leak in GdiDeleteSpoolFileHandle.
This commit is contained in:
parent
df01ef80a0
commit
846784f03f
|
@ -2766,6 +2766,7 @@ BOOL WINAPI GdiDeleteSpoolFileHandle( HANDLE h )
|
|||
for (i = 0; i < sh->devmodes_no; i++)
|
||||
HeapFree( GetProcessHeap(), 0, sh->devmodes[i].devmode );
|
||||
HeapFree( GetProcessHeap(), 0, sh->devmodes );
|
||||
HeapFree( GetProcessHeap(), 0, sh );
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue