summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/mfb/mfbscrclse.c
diff options
context:
space:
mode:
authorrws <empty>1989-07-16 17:22:43 +0000
committerrws <empty>1989-07-16 17:22:43 +0000
commitb7b95b2a8daa216186dbcc35665551789be4c246 (patch)
treeab9e054464025f75d093a998384e5c5eb95e97ce /xc/programs/Xserver/mfb/mfbscrclse.c
parent216ee7a8150a327b4cd22ed626be8db1008f5448 (diff)
changes for new resource type/class interface
Diffstat (limited to 'xc/programs/Xserver/mfb/mfbscrclse.c')
-rw-r--r--xc/programs/Xserver/mfb/mfbscrclse.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/xc/programs/Xserver/mfb/mfbscrclse.c b/xc/programs/Xserver/mfb/mfbscrclse.c
index 734fe531f..04d075ad7 100644
--- a/xc/programs/Xserver/mfb/mfbscrclse.c
+++ b/xc/programs/Xserver/mfb/mfbscrclse.c
@@ -1,4 +1,4 @@
-/* $XConsortium: mfbscrclse.c,v 1.4 89/06/16 16:57:57 keith Exp $ */
+/* $XConsortium: mfbscrclse.c,v 1.5 89/07/09 15:56:09 rws Exp $ */
/***********************************************************
Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
@@ -39,9 +39,7 @@ mfbCloseScreen(index, pScreen)
xfree(pScreen->allowedDepths);
}
- /* pScreen->visuals does not need to be freed here, since it is added as
- a resource in "mfbScreenInit" and is freed with the rest of the
- resources. */
+ xfree(pScreen->visuals);
if(pScreen->devPrivate)
xfree(pScreen->devPrivate);