diff options
Diffstat (limited to 'Src/builtin.c')
-rw-r--r-- | Src/builtin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index 90681fc3a..60971b9e1 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -2322,6 +2322,7 @@ mkautofn(Shfunc shf) p->strs = NULL; p->shf = shf; p->npats = 0; + p->nref = 1; /* allocated from permanent storage */ p->pats = (Patprog *) p->prog; p->flags = EF_REAL; p->dump = NULL; |