mirror of
https://github.com/reactos/reactos.git
synced 2024-11-24 20:13:31 +08:00
[VIDEOPRT] Don't return uninitialized memory
This commit is contained in:
parent
8467d6edd1
commit
0996dac683
@ -35,6 +35,9 @@ VideoPortCreateEvent(IN PVOID HwDeviceExtension,
|
||||
TAG_VIDEO_PORT);
|
||||
if (EngEvent)
|
||||
{
|
||||
/* Zero flags */
|
||||
EngEvent->fFlags = 0;
|
||||
|
||||
/* Set KEVENT pointer */
|
||||
EngEvent->pKEvent = EngEvent + 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user