mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +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);
|
TAG_VIDEO_PORT);
|
||||||
if (EngEvent)
|
if (EngEvent)
|
||||||
{
|
{
|
||||||
|
/* Zero flags */
|
||||||
|
EngEvent->fFlags = 0;
|
||||||
|
|
||||||
/* Set KEVENT pointer */
|
/* Set KEVENT pointer */
|
||||||
EngEvent->pKEvent = EngEvent + 1;
|
EngEvent->pKEvent = EngEvent + 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue