mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
[Win32ss]
- Prevent a potential kernel exception. svn path=/trunk/; revision=60682
This commit is contained in:
parent
4f2b6c6702
commit
769ec79f16
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ IntGetProp(HWND hWnd, ATOM Atom)
|
||||||
for (i = 0; i < pWnd->PropListItems; i++ )
|
for (i = 0; i < pWnd->PropListItems; i++ )
|
||||||
{
|
{
|
||||||
Property = CONTAINING_RECORD(ListEntry, PROPERTY, PropListEntry);
|
Property = CONTAINING_RECORD(ListEntry, PROPERTY, PropListEntry);
|
||||||
|
if (!Property) break;
|
||||||
if (Property->Atom == Atom)
|
if (Property->Atom == Atom)
|
||||||
{
|
{
|
||||||
return(Property);
|
return(Property);
|
||||||
|
|
Loading…
Reference in a new issue