projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
edd8812
)
[NtUser]
author
James Tabor
<james.tabor@reactos.org>
Wed, 13 Jul 2016 03:04:20 +0000
(
03:04
+0000)
committer
James Tabor
<james.tabor@reactos.org>
Wed, 13 Jul 2016 03:04:20 +0000
(
03:04
+0000)
- Fix crash in User32:win:test_winproc_handles. See CORE-11368.
svn path=/trunk/; revision=71916
reactos/win32ss/user/ntuser/callproc.c
patch
|
blob
|
history
diff --git
a/reactos/win32ss/user/ntuser/callproc.c
b/reactos/win32ss/user/ntuser/callproc.c
index
010ad43
..
aff88c4
100644
(file)
--- a/
reactos/win32ss/user/ntuser/callproc.c
+++ b/
reactos/win32ss/user/ntuser/callproc.c
@@
-50,7
+50,7
@@
CreateCallProc(IN PDESKTOP Desktop,
}
/* Release the extra reference (UserCreateObject added 2 references) */
}
/* Release the extra reference (UserCreateObject added 2 references) */
- UserDereferenceObject(NewCallProc);
+
if (NewCallProc != NULL)
UserDereferenceObject(NewCallProc);
return NewCallProc;
}
return NewCallProc;
}