diff options
author | Keith Packard <keithp@keithp.com> | 2000-10-03 17:22:14 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2000-10-03 17:22:14 +0000 |
commit | b814019be970bc45f808ec19eef0a48b789d6646 (patch) | |
tree | 9bbb60d46e0a05ff5a28327a160ca05692f0a427 /hw | |
parent | e0ccbaab226bd3e1d619d66c9ec718c67c0a559a (diff) |
kdrive: zero out fbdev screen private as its supposed to be
Diffstat (limited to 'hw')
-rw-r--r-- | hw/kdrive/fbdev/fbdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/kdrive/fbdev/fbdev.c b/hw/kdrive/fbdev/fbdev.c index 8f628ec1a..040dc05b1 100644 --- a/hw/kdrive/fbdev/fbdev.c +++ b/hw/kdrive/fbdev/fbdev.c @@ -21,7 +21,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ -/* $XFree86: xc/programs/Xserver/hw/kdrive/fbdev/fbdev.c,v 1.7 2000/09/22 06:25:08 keithp Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/kdrive/fbdev/fbdev.c,v 1.9 2000/09/27 20:46:36 keithp Exp $ */ #include "fbdev.h" @@ -182,6 +182,7 @@ fbdevScreenInit (KdScreenInfo *screen) scrpriv = xalloc (sizeof (FbdevScrPriv)); if (!scrpriv) return FALSE; + memset (scrpriv, '\0', sizeof (FbdevScrPriv)); if (!fbdevScreenInitialize (screen, scrpriv)) { xfree (scrpriv); |