devPrivates rework: Free callback lists after use.
This commit is contained in:
parent
de18703d2a
commit
7f376f23db
|
@ -232,6 +232,8 @@ dixResetPrivates(void)
|
|||
/* reset internal structures */
|
||||
while (items) {
|
||||
next = items->next;
|
||||
DeleteCallbackList(&items->initfuncs);
|
||||
DeleteCallbackList(&items->deletefuncs);
|
||||
xfree(items);
|
||||
items = next;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user