summaryrefslogtreecommitdiff
path: root/Src/Zle/computil.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/computil.c')
-rw-r--r--Src/Zle/computil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c
index 795b2ba50..178101b61 100644
--- a/Src/Zle/computil.c
+++ b/Src/Zle/computil.c
@@ -458,7 +458,7 @@ cd_init(char *nam, char *hide, char *mlen, char *sep,
grp = 1;
}
while (*args) {
- *setp = set = (Cdset) zcalloc(sizeof(*set));
+ *setp = set = (Cdset) zshcalloc(sizeof(*set));
setp = &(set->next);
*setp = NULL;
set->opts = NULL;