summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/drivers/tseng/tseng_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/programs/Xserver/hw/xfree86/drivers/tseng/tseng_driver.c')
-rw-r--r--xc/programs/Xserver/hw/xfree86/drivers/tseng/tseng_driver.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/drivers/tseng/tseng_driver.c b/xc/programs/Xserver/hw/xfree86/drivers/tseng/tseng_driver.c
index 92d1e151f..52496e1a0 100644
--- a/xc/programs/Xserver/hw/xfree86/drivers/tseng/tseng_driver.c
+++ b/xc/programs/Xserver/hw/xfree86/drivers/tseng/tseng_driver.c
@@ -1,5 +1,5 @@
/*
- * $XFree86: xc/programs/Xserver/hw/xfree86/drivers/tseng/tseng_driver.c,v 1.76 2000/11/16 19:45:01 eich Exp $
+ * $XFree86: xc/programs/Xserver/hw/xfree86/drivers/tseng/tseng_driver.c,v 1.77 2000/12/02 15:30:59 tsi Exp $
*
* Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
*
@@ -511,7 +511,7 @@ static Bool
TsengProbe(DriverPtr drv, int flags)
{
int i;
- GDevPtr *devSections = NULL;
+ GDevPtr *devSections;
int numDevSections;
int numUsed;
int *usedChips = NULL;
@@ -572,8 +572,8 @@ TsengProbe(DriverPtr drv, int flags)
TsengAssignFPtr(pScrn);
foundScreen = TRUE;
}
- xfree(usedChips);
}
+ xfree(usedChips);
}
}
@@ -595,8 +595,7 @@ TsengProbe(DriverPtr drv, int flags)
}
xfree(usedChips);
}
- if (devSections)
- xfree(devSections);
+ xfree(devSections);
return foundScreen;
}