summaryrefslogtreecommitdiff
path: root/fb/fbscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'fb/fbscreen.c')
-rw-r--r--fb/fbscreen.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fb/fbscreen.c b/fb/fbscreen.c
index 2502efeff..c5b35ac85 100644
--- a/fb/fbscreen.c
+++ b/fb/fbscreen.c
@@ -225,11 +225,7 @@ fbFinishScreenInit(ScreenPtr pScreen,
rootdepth = 0;
if (!fbInitVisuals (&visuals, &depths, &nvisuals, &ndepths, &rootdepth,
&defaultVisual,((unsigned long)1<<(imagebpp-1)), 8))
- {
- free(visuals);
- free(depths);
return FALSE;
- }
if (! miScreenInit(pScreen, pbits, xsize, ysize, dpix, dpiy, width,
rootdepth, ndepths, depths,
defaultVisual, nvisuals, visuals))