aboutsummaryrefslogtreecommitdiff
path: root/libX11/modules/lc/def/lcDefConv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/modules/lc/def/lcDefConv.c')
-rw-r--r--libX11/modules/lc/def/lcDefConv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libX11/modules/lc/def/lcDefConv.c b/libX11/modules/lc/def/lcDefConv.c
index 3cd5c22c9..e1f02289b 100644
--- a/libX11/modules/lc/def/lcDefConv.c
+++ b/libX11/modules/lc/def/lcDefConv.c
@@ -563,9 +563,8 @@ static void
close_converter(
XlcConv conv)
{
- if (conv->state)
- Xfree(conv->state);
+ Xfree(conv->state);
Xfree(conv);
}