mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:53:06 +00:00
[Win32ss]
- Prevent a potential kernel exception. svn path=/trunk/; revision=60683
This commit is contained in:
parent
769ec79f16
commit
512ac8d32c
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ IntGetProp(PWND Window, ATOM Atom)
|
||||||
while (ListEntry != &Window->PropListHead)
|
while (ListEntry != &Window->PropListHead)
|
||||||
{
|
{
|
||||||
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…
Add table
Add a link
Reference in a new issue