diff options
Diffstat (limited to 'xorg-server/dix/extension.c')
-rw-r--r-- | xorg-server/dix/extension.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xorg-server/dix/extension.c b/xorg-server/dix/extension.c index 3cdfb5152..bdbbf014c 100644 --- a/xorg-server/dix/extension.c +++ b/xorg-server/dix/extension.c @@ -254,9 +254,9 @@ ProcQueryExtension(ClientPtr client) memset(&reply, 0, sizeof(xQueryExtensionReply)); reply.type = X_Reply; + reply.sequenceNumber = client->sequence; reply.length = 0; reply.major_opcode = 0; - reply.sequenceNumber = client->sequence; if (!NumExtensions) reply.present = xFalse; @@ -287,8 +287,9 @@ ProcListExtensions(ClientPtr client) memset(&reply, 0, sizeof(xListExtensionsReply)); reply.type = X_Reply; reply.nExtensions = 0; - reply.length = 0; reply.sequenceNumber = client->sequence; + reply.length = 0; + buffer = NULL; if (NumExtensions) { |