aboutsummaryrefslogtreecommitdiff
path: root/libX11/modules/lc/def
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/modules/lc/def')
-rw-r--r--libX11/modules/lc/def/lcDefConv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/modules/lc/def/lcDefConv.c b/libX11/modules/lc/def/lcDefConv.c
index 5860a79a5..12a48615e 100644
--- a/libX11/modules/lc/def/lcDefConv.c
+++ b/libX11/modules/lc/def/lcDefConv.c
@@ -577,7 +577,7 @@ create_conv(
XlcConv conv;
State state;
- conv = (XlcConv) Xmalloc(sizeof(XlcConvRec));
+ conv = (XlcConv) Xcalloc(1, sizeof(XlcConvRec));
if (conv == NULL)
return (XlcConv) NULL;