aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xlibi18n/lcPrTxt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/xlibi18n/lcPrTxt.c')
-rw-r--r--libX11/src/xlibi18n/lcPrTxt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libX11/src/xlibi18n/lcPrTxt.c b/libX11/src/xlibi18n/lcPrTxt.c
index 47d11f096..72fc2b927 100644
--- a/libX11/src/xlibi18n/lcPrTxt.c
+++ b/libX11/src/xlibi18n/lcPrTxt.c
@@ -283,8 +283,7 @@ _XwcFreeStringList(
wchar_t **list)
{
if (list) {
- if (*list)
- Xfree(*list);
+ Xfree(*list);
Xfree(list);
}
}