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,
|
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() );
|
wine_dbgstr_a(drives[i].unixpath), drives[i].type, GetLastError() );
|
||||||
|
HeapFree( GetProcessHeap(), 0, ioctl );
|
||||||
}
|
}
|
||||||
CloseHandle( mgr );
|
CloseHandle( mgr );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue