mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1245241 - fix SharedMemoryBasic_android CloseHandle to null out handle. r=billm a=kwierso
This commit is contained in:
parent
3ba702c04e
commit
726a9405c8
@ -130,8 +130,9 @@ SharedMemoryBasic::Unmap()
|
||||
void
|
||||
SharedMemoryBasic::CloseHandle()
|
||||
{
|
||||
if (mShmFd > 0) {
|
||||
if (mShmFd != -1) {
|
||||
close(mShmFd);
|
||||
mShmFd = -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user