diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2010-01-04 18:21:54 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-01-04 18:48:18 -0800 |
commit | 13c8bd3fde3b0831921e59f84936022a16379d63 (patch) | |
tree | 099dfe148525b9f11ff704c1a4e9e5d62c963e45 /hw/xwin/winclipboardwndproc.c | |
parent | e707612e9de4e5e1d91dc1a8152810912d7e18bb (diff) |
XkbRemoveResourceClient() returns immediately if dev->key is NULL.
CloseDevice calls XkbRemoveResourceClient until it removes all resources.
If we free dev->key and NULL it before XkbRemoveResourceClient, then
infinite loop ensues, and the server appears to hang on exit or crash.
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw/xwin/winclipboardwndproc.c')
0 files changed, 0 insertions, 0 deletions