aboutsummaryrefslogtreecommitdiff
path: root/Src/hist.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/hist.c')
-rw-r--r--Src/hist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/hist.c b/Src/hist.c
index 57e429a7d..e40007049 100644
--- a/Src/hist.c
+++ b/Src/hist.c
@@ -771,7 +771,7 @@ hbegin(int dohist)
hwend = nohwe;
addtoline = nohw;
} else {
- chline = hptr = zcalloc(hlinesz = 64);
+ chline = hptr = zshcalloc(hlinesz = 64);
chwords = zalloc((chwordlen = 64) * sizeof(short));
hgetc = ihgetc;
hungetc = ihungetc;
@@ -933,7 +933,7 @@ prepnexthistent(void)
}
if (histlinect < histsiz) {
- he = (Histent)zcalloc(sizeof *he);
+ he = (Histent)zshcalloc(sizeof *he);
if (!hist_ring)
hist_ring = he->up = he->down = he;
else {