[VIDEOPRT] Don't return uninitialized memory

This commit is contained in:
Pierre Schweitzer
2019-02-20 21:02:11 +01:00
parent 8467d6edd1
commit 0996dac683
+3
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;