diff options
Diffstat (limited to 'Src/hist.c')
-rw-r--r-- | Src/hist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/hist.c b/Src/hist.c index d8192c1c5..e65d78bfd 100644 --- a/Src/hist.c +++ b/Src/hist.c @@ -367,6 +367,7 @@ getsubsargs(char *subline, int *gbalp, int *cflagp) zsfree(hsubl); hsubl = ptr1; } else if (!hsubl) { /* fail silently on this */ + zsfree(ptr1); zsfree(ptr2); return 0; } |