diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-16 16:59:34 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-16 21:10:30 +0930 |
commit | fc7e2566cc076c0d979f74871bc436df43401058 (patch) | |
tree | 6d6f80092c1971d4f5f778248aba63eab452dd7e /Xext/xtest.c | |
parent | 6fb76acc4524d6af4bfb6bc6d862c1ee2bbb8baa (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.c | 2 |
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; } |