summaryrefslogtreecommitdiff
path: root/dix/dixutils.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-01-03 23:07:24 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2008-01-03 23:17:06 -0500
commitde18703d2a25999e391d11b4c82ee018fb87372d (patch)
treef3fe2b39461c8ca9fc45ebb00b284c1ce3addf9d /dix/dixutils.c
parent20eb26f9d149993ae360a2cbd1b536b68c9f4069 (diff)
dix: Fix bug+leak in callback manager DeleteCallbackList function.
Diffstat (limited to 'dix/dixutils.c')
-rw-r--r--dix/dixutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/dixutils.c b/dix/dixutils.c
index 786f4e335..dd485d518 100644
--- a/dix/dixutils.c
+++ b/dix/dixutils.c
@@ -800,7 +800,7 @@ _DeleteCallbackList(
for (i = 0; i < numCallbackListsToCleanup; i++)
{
- if ((listsToCleanup[i] = pcbl) != 0)
+ if (listsToCleanup[i] == pcbl)
{
listsToCleanup[i] = NULL;
break;