diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-07-19 09:29:28 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-07-19 09:29:28 +1000 |
commit | e76e20d4d4a39e139a778411a2ed09ec35c2046e (patch) | |
tree | 5526037a201e72a479447415c6fae67e36c9d327 /src | |
parent | 39b97cc0138417141b245179fc8555bbb365e879 (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.c | 1 |
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; } |