From d7514b9162648f894211884b199ef2edc458aa86 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 22 Sep 2004 04:38:03 +0000 Subject: [PATCH] Bug #1252, #1253, #1255, #1256: Various typo fixes from Dave Jones. --- hw/xfree86/common/xf86Helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c index 822cdfd8b..525f76835 100644 --- a/hw/xfree86/common/xf86Helper.c +++ b/hw/xfree86/common/xf86Helper.c @@ -254,7 +254,7 @@ xf86DeleteScreen(int scrnIndex, int flags) if (pScrn->drv) pScrn->drv->refCount--; - if (pScrn->privates); + if (pScrn->privates) xfree(pScrn->privates); xf86ClearEntityListForScreen(scrnIndex); @@ -346,7 +346,7 @@ xf86DeleteInput(InputInfoPtr pInp, int flags) if (pInp->drv) pInp->drv->refCount--; - if (pInp->private); + if (pInp->private) xfree(pInp->private); /* Remove the entry from the list. */