From c77f9d0572d74be42e967c6fbb678d3899ba1111 Mon Sep 17 00:00:00 2001 From: David Welch Date: Thu, 4 Mar 2004 23:11:43 +0000 Subject: [PATCH] - Fix for crash on gui exit caused by trying to free an uninitialized variable. svn path=/trunk/; revision=8540 --- reactos/drivers/video/displays/vga/main/enable.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/reactos/drivers/video/displays/vga/main/enable.c b/reactos/drivers/video/displays/vga/main/enable.c index f3e353f53be..b871fdc65a9 100644 --- a/reactos/drivers/video/displays/vga/main/enable.c +++ b/reactos/drivers/video/displays/vga/main/enable.c @@ -1,9 +1,9 @@ /* * entry.c * - * $Revision: 1.1 $ - * $Author: navaraf $ - * $Date: 2004/01/10 14:39:20 $ + * $Revision: 1.2 $ + * $Author: dwelch $ + * $Date: 2004/03/04 23:11:43 $ * */ @@ -487,6 +487,9 @@ DrvEnableSurface(IN DHPDEV PDev) pdsurf->Scan0 = ppdev->fbScreen; pdsurf->BitmapStart = ppdev->fbScreen; pdsurf->StartBmp = ppdev->fbScreen; + pdsurf->BankInfo = NULL; + pdsurf->BankInfo2RW = NULL; + pdsurf->BankBufferPlane0 = NULL; /* pdsurf->Conv = &ConvertBuffer[0]; */