mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 09:58:21 +02:00
devPrivates rework: Free callback lists after use.
This commit is contained in:
parent
de18703d2a
commit
7f376f23db
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue