summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-09-08 13:21:07 +1000
committerDave Airlie <airlied@redhat.com>2009-09-08 13:21:07 +1000
commit651fe5a47435c6a5cc1cdfb33c5c6601d692adcb (patch)
tree6cb266ba7435d06014df8546dd355f8e7604663a /src
parent6990f2ac6478bf92929a4400ef84fb2142699204 (diff)
radeon: fix dri2 struct zeroing
Diffstat (limited to 'src')
-rw-r--r--src/radeon_dri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index e94107c..db46d27 100644
--- a/src/radeon_dri2.c
+++ b/src/radeon_dri2.c
@@ -321,7 +321,7 @@ radeon_dri2_screen_init(ScreenPtr pScreen)
{
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
RADEONInfoPtr info = RADEONPTR(pScrn);
- DRI2InfoRec dri2_info;
+ DRI2InfoRec dri2_info = { 0 };
int fd;
char *bus_id;
char *tmp_bus_id;