mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dix: Fix bug+leak in callback manager DeleteCallbackList function.
This commit is contained in:
@@ -800,7 +800,7 @@ _DeleteCallbackList(
|
||||
|
||||
for (i = 0; i < numCallbackListsToCleanup; i++)
|
||||
{
|
||||
if ((listsToCleanup[i] = pcbl) != 0)
|
||||
if (listsToCleanup[i] == pcbl)
|
||||
{
|
||||
listsToCleanup[i] = NULL;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user