aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xlibi18n/IMWrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/xlibi18n/IMWrap.c')
-rw-r--r--libX11/src/xlibi18n/IMWrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/xlibi18n/IMWrap.c b/libX11/src/xlibi18n/IMWrap.c
index 0f6ed5593..a7c1d98c1 100644
--- a/libX11/src/xlibi18n/IMWrap.c
+++ b/libX11/src/xlibi18n/IMWrap.c
@@ -134,7 +134,7 @@ XCloseIM(XIM im)
s = (im->methods->close) (im);
for (ic = im->core.ic_chain; ic; ic = ic->core.next)
ic->core.im = (XIM)NULL;
- Xfree ((char *) im);
+ Xfree (im);
_XCloseLC (lcd);
return (s);
}