summaryrefslogtreecommitdiff
path: root/lib/libX11/src/xlibi18n/IMWrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libX11/src/xlibi18n/IMWrap.c')
-rw-r--r--lib/libX11/src/xlibi18n/IMWrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libX11/src/xlibi18n/IMWrap.c b/lib/libX11/src/xlibi18n/IMWrap.c
index 0f6ed5593..a7c1d98c1 100644
--- a/lib/libX11/src/xlibi18n/IMWrap.c
+++ b/lib/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);
}