summaryrefslogtreecommitdiff
path: root/dix/extension.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-04-04 15:59:51 -0400
committerEamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil>2007-04-04 15:59:51 -0400
commit63e46e4fc3e98751f2edbed9c79ef3d5dc2dadc6 (patch)
tree551ef7b55d753640114999b3b0a2c35fc973ba55 /dix/extension.c
parent1cb84768f376b477a08a558854609b0743f2bd29 (diff)
devPrivates rework: properly free devPrivates on compatibility structures,
excluding pixmap.
Diffstat (limited to 'dix/extension.c')
-rw-r--r--dix/extension.c2
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);