3
Fixes SEGV in _XimRegisterKeyPressFilter() if _XimProtoCreateIC() failed to
4
create an input context. See Debian #239991.
6
This patch by Chung-chieh Shan.
8
Not submitted to XFree86.
10
--- xc/lib/X11/imDefIc.c~ 2004-04-21 12:09:52.000000000 -0500
11
+++ xc/lib/X11/imDefIc.c 2004-04-21 12:10:17.000000000 -0500
16
+ _XimUnregisterFilter(ic);
17
if (ic->private.proto.ic_resources)
18
Xfree(ic->private.proto.ic_resources);
19
if (ic->private.proto.ic_inner_resources)