xf86-video-intel: src/i830_tv.c
Eric Anholt
anholt at kemper.freedesktop.org
Wed Oct 24 11:07:08 PDT 2007
src/i830_tv.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 021265fbec9fd4ee31bdc9767c0c0453479ea22c
Author: Rob <rglowery at exemail.com.au>
Date: Wed Oct 24 11:06:53 2007 -0700
Fix a crash in TV mode handling by initializing the prev field of modes.
diff --git a/src/i830_tv.c b/src/i830_tv.c
index 940250e..678d510 100644
--- a/src/i830_tv.c
+++ b/src/i830_tv.c
@@ -1451,6 +1451,9 @@ i830_tv_get_modes(xf86OutputPtr output)
mode_ptr->type = M_T_DRIVER;
mode_ptr->next = ret;
+ mode_ptr->prev = NULL;
+ if (ret != NULL)
+ reg->prev = mode_ptr;
ret = mode_ptr;
}
More information about the xorg-commit
mailing list