diff options
author | Eric Anholt <eric@anholt.net> | 2006-11-03 13:46:09 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-11-03 13:46:09 -0800 |
commit | 282a9e073ea985cbf0d0f3f296d593af1426bad5 (patch) | |
tree | b809d55deb20000f25b1e4d77f39c3e94f4928a5 | |
parent | 0510671a6c5233468ac20f0ec8096e084df03ce6 (diff) |
Don't memset the modes pointer on init, which was dereferencing NULL.
-rw-r--r-- | src/i830_randr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/i830_randr.c b/src/i830_randr.c index 59ebcc08..e4ae9d04 100644 --- a/src/i830_randr.c +++ b/src/i830_randr.c @@ -874,7 +874,6 @@ I830RandRInit12 (ScreenPtr pScreen) rp->rrCrtcSet = I830RandRCrtcSet; rp->rrCrtcSetGamma = I830RandRCrtcSetGamma; rp->rrSetConfig = NULL; - memset (rp->modes, '\0', sizeof (rp->modes)); pScrn->PointerMoved = I830RandRPointerMoved; return TRUE; } |