summaryrefslogtreecommitdiff
path: root/dix/extension.c
diff options
context:
space:
mode:
authorMathieu BĂ©rard <mathieu.berard@crans.org>2008-07-25 10:05:30 -0400
committerAdam Jackson <ajax@redhat.com>2008-07-25 10:05:30 -0400
commitae67508392261ae47858692668a0c192ef4a9d7b (patch)
treea20a69e692e754ad79f855f50b24868515c5a11c /dix/extension.c
parenteff25430b4a391409e39337962ff7697165d23c7 (diff)
Fix AddExtension now that CloseDownProc can be NULL.
Diffstat (limited to 'dix/extension.c')
-rw-r--r--dix/extension.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/extension.c b/dix/extension.c
index 5dbdb956d..ccd9362fc 100644
--- a/dix/extension.c
+++ b/dix/extension.c
@@ -84,7 +84,7 @@ AddExtension(char *name, int NumEvents, int NumErrors,
int i;
ExtensionEntry *ext, **newexts;
- if (!MainProc || !SwappedMainProc || !CloseDownProc || !MinorOpcodeProc)
+ if (!MainProc || !SwappedMainProc || !MinorOpcodeProc)
return((ExtensionEntry *) NULL);
if ((lastEvent + NumEvents > LAST_EVENT) ||
(unsigned)(lastError + NumErrors > LAST_ERROR))