mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-01 16:08:02 +02:00
Fix AddExtension now that CloseDownProc can be NULL.
This commit is contained in:
parent
eff25430b4
commit
ae67508392
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue