mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 12:04:35 +00:00
winecfg: Fix a leak when applying drive changes (Coverity).
This commit is contained in:
parent
7ca31b8119
commit
74c3a4a7e7
|
@ -367,6 +367,7 @@ void apply_drive_changes(void)
|
|||
}
|
||||
else WINE_WARN( "failed to set drive %c: to %s type %u err %u\n", 'a' + i,
|
||||
wine_dbgstr_a(drives[i].unixpath), drives[i].type, GetLastError() );
|
||||
HeapFree( GetProcessHeap(), 0, ioctl );
|
||||
}
|
||||
CloseHandle( mgr );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue