diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2007-04-04 15:59:51 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil> | 2007-04-04 15:59:51 -0400 |
commit | 63e46e4fc3e98751f2edbed9c79ef3d5dc2dadc6 (patch) | |
tree | 551ef7b55d753640114999b3b0a2c35fc973ba55 /dix/extension.c | |
parent | 1cb84768f376b477a08a558854609b0743f2bd29 (diff) |
devPrivates rework: properly free devPrivates on compatibility structures,
excluding pixmap.
Diffstat (limited to 'dix/extension.c')
-rw-r--r-- | dix/extension.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dix/extension.c b/dix/extension.c index 88dff15e2..b338c810d 100644 --- a/dix/extension.c +++ b/dix/extension.c @@ -59,6 +59,7 @@ SOFTWARE. #include "gcstruct.h" #include "scrnintstr.h" #include "dispatch.h" +#include "privates.h" #include "xace.h" #define EXTENSION_BASE 128 @@ -290,6 +291,7 @@ CloseDownExtensions() for (j = extensions[i]->num_aliases; --j >= 0;) xfree(extensions[i]->aliases[j]); xfree(extensions[i]->aliases); + dixFreePrivates(*DEVPRIV_PTR(extensions[i])); xfree(extensions[i]); } xfree(extensions); |