summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-01-03 23:08:49 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2008-01-03 23:17:06 -0500
commit7f376f23db463a65176de632ca6094acb55db951 (patch)
treefecdfede52a3091c62aa79b1774e999012175283 /dix
parentde18703d2a25999e391d11b4c82ee018fb87372d (diff)
devPrivates rework: Free callback lists after use.
Diffstat (limited to 'dix')
-rw-r--r--dix/privates.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dix/privates.c b/dix/privates.c
index e04da41b1..47a0e1a29 100644
--- a/dix/privates.c
+++ b/dix/privates.c
@@ -232,6 +232,8 @@ dixResetPrivates(void)
/* reset internal structures */
while (items) {
next = items->next;
+ DeleteCallbackList(&items->initfuncs);
+ DeleteCallbackList(&items->deletefuncs);
xfree(items);
items = next;
}