summaryrefslogtreecommitdiff
path: root/Xext/xtest.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-16 16:59:34 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-16 21:10:30 +0930
commitfc7e2566cc076c0d979f74871bc436df43401058 (patch)
tree6d6f80092c1971d4f5f778248aba63eab452dd7e /Xext/xtest.c
parent6fb76acc4524d6af4bfb6bc6d862c1ee2bbb8baa (diff)
Xext: fix typo in condition.
Fall-out from dc3aba8a559d4304844ee1cc306c577a63b82762. We must free the event if it is NOT an extension event.
Diffstat (limited to 'Xext/xtest.c')
-rw-r--r--Xext/xtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xext/xtest.c b/Xext/xtest.c
index 791f6a24d..a42faa791 100644
--- a/Xext/xtest.c
+++ b/Xext/xtest.c
@@ -500,7 +500,7 @@ ProcXTestFakeInput(client)
xfree(master_event);
} else
(*dev->public.processInputProc)(ev, dev, nev);
- if (extension)
+ if (!extension)
xfree(ev);
return client->noClientException;
}