XACE: DeleteCallbackList zeroes out its argument so don't do it twice.
This commit is contained in:
parent
7f376f23db
commit
39cb782f28
|
@ -262,10 +262,7 @@ XaceResetProc(ExtensionEntry *extEntry)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i=0; i<XACE_NUM_HOOKS; i++)
|
for (i=0; i<XACE_NUM_HOOKS; i++)
|
||||||
{
|
|
||||||
DeleteCallbackList(&XaceHooks[i]);
|
DeleteCallbackList(&XaceHooks[i]);
|
||||||
XaceHooks[i] = NULL;
|
|
||||||
}
|
|
||||||
} /* XaceResetProc */
|
} /* XaceResetProc */
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue