[VIDEOPRT] Don't return uninitialized memory

This commit is contained in:
Pierre Schweitzer 2019-02-20 21:01:46 +01:00
parent 8467d6edd1
commit 0996dac683
No known key found for this signature in database
GPG Key ID: 7545556C3D585B0B

View File

@ -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;