Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: memory leak (1): unset private parameter
On Fri, Jun 28, 2024 at 3:05 AM Jun T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
>
> 32 bytes in 1 blocks are definitely lost in loss record 247 of 387
> by 0x1935B9: zalloc (mem.c:966)
> by 0x50B0772: makeprivate (param_private.c:138)
>
> 320 zfree(c, sizeof(struct gsu_closure)); # NOT called
Is that ever called for a private param? If not, given that private
is always locally scoped, perhaps it would work for makeprivate() to
put the GSU on the heap.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author