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