summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-07-19 09:29:28 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-07-19 09:29:28 +1000
commite76e20d4d4a39e139a778411a2ed09ec35c2046e (patch)
tree5526037a201e72a479447415c6fae67e36c9d327 /src
parent39b97cc0138417141b245179fc8555bbb365e879 (diff)
Dont call xf86DeleteInput on PreInit failure.
The server calls this for us once PreInit returns with an error, calling it during PreInit means the server continues to use already free'd memory. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/acecad.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/acecad.c b/src/acecad.c
index 2b6aa45..a3326a0 100644
--- a/src/acecad.c
+++ b/src/acecad.c
@@ -471,7 +471,6 @@ SetupProc_fail:
if (local)
local->private = NULL;
}
- xf86DeleteInput(local, 0);
return BadAlloc;
}