mirror of
https://github.com/reactos/reactos.git
synced 2024-06-27 16:31:30 +00: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 a new issue