mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2025-01-24 15:22:22 +01:00
Weather: Fixed possible NULL dereference
This commit is contained in:
parent
09f5390a23
commit
61626d912e
@ -3956,7 +3956,10 @@ SIZE WINAPI PeopleButton_CalculateMinimumSizeHook(void* _this, SIZE* pSz)
|
|||||||
epw = NULL;
|
epw = NULL;
|
||||||
prev_total_h = 0;
|
prev_total_h = 0;
|
||||||
}
|
}
|
||||||
epw->lpVtbl->SetWindowCornerPreference(epw, dwWeatherWindowCornerPreference);
|
else
|
||||||
|
{
|
||||||
|
epw->lpVtbl->SetWindowCornerPreference(epw, dwWeatherWindowCornerPreference);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ReleaseSRWLockExclusive(&lock_epw);
|
ReleaseSRWLockExclusive(&lock_epw);
|
||||||
AcquireSRWLockShared(&lock_epw);
|
AcquireSRWLockShared(&lock_epw);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user