diff options
Diffstat (limited to 'Src/hashtable.c')
-rw-r--r-- | Src/hashtable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/hashtable.c b/Src/hashtable.c index e9f33aa15..07c8dc25b 100644 --- a/Src/hashtable.c +++ b/Src/hashtable.c @@ -842,7 +842,7 @@ freeshfuncnode(HashNode hn) zsfree(shf->nam); if (shf->funcdef) - freestruct(shf->funcdef); + freeeprog(shf->funcdef); zfree(shf, sizeof(struct shfunc)); } @@ -879,7 +879,7 @@ printshfuncnode(HashNode hn, int printflags) if (!f->funcdef) t = 0; else - t = getpermtext((void *) f->funcdef); + t = getpermtext(f->funcdef, NULL); } quotedzputs(f->nam, stdout); |