summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/mfb/mfbscrclse.c
diff options
context:
space:
mode:
authorrws <empty>1989-03-18 12:25:32 +0000
committerrws <empty>1989-03-18 12:25:32 +0000
commit6b49ba8ebfc903558d6b533df019136d8fdb7880 (patch)
tree17978881aa26a6238ca767daddfc271cec7edef8 /xc/programs/Xserver/mfb/mfbscrclse.c
parent901ac26bf52e7af65acb37a37d34eb3c9d77812c (diff)
lint
Diffstat (limited to 'xc/programs/Xserver/mfb/mfbscrclse.c')
-rw-r--r--xc/programs/Xserver/mfb/mfbscrclse.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/xc/programs/Xserver/mfb/mfbscrclse.c b/xc/programs/Xserver/mfb/mfbscrclse.c
index c6a289913..f0b5bd773 100644
--- a/xc/programs/Xserver/mfb/mfbscrclse.c
+++ b/xc/programs/Xserver/mfb/mfbscrclse.c
@@ -1,4 +1,4 @@
-/* $XConsortium: mfbscrclse.c,v 1.1 87/09/02 00:28:53 toddb Exp $ */
+/* $XConsortium: mfbscrclse.c,v 1.2 88/09/06 14:54:02 jim Exp $ */
/***********************************************************
Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
@@ -33,9 +33,9 @@ mfbScreenClose(pScreen)
if (pScreen->allowedDepths)
{
if (pScreen->allowedDepths->vids)
- Xfree(pScreen->allowedDepths->vids);
+ xfree(pScreen->allowedDepths->vids);
- Xfree(pScreen->allowedDepths);
+ xfree(pScreen->allowedDepths);
}
/* pScreen->visuals does not need to be freed here, since it is added as
@@ -43,10 +43,7 @@ mfbScreenClose(pScreen)
resources. */
if(pScreen->devPrivate)
- Xfree(pScreen->devPrivate);
-
- /* Does pScreen->devPrivate->devPrivate have to be freed since it's a bitmap?
- but I don't know where or how it is allocated. It may be static. */
+ xfree(pScreen->devPrivate);
return;
}