[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58975: 29.0.50; noverlay fails to build with --enable-checking=struc
From: |
Stefan Monnier |
Subject: |
bug#58975: 29.0.50; noverlay fails to build with --enable-checking=structs |
Date: |
Wed, 02 Nov 2022 21:55:07 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> Is this the right fix?
The patch looks good, thanks.
> BTW, every time itree_create is called via add_buffer_overlay, it in
> turn calls itree_init,
Oh, that's not right. `itree_init` should be called once only, from
`emacs.c`, like things like `init_lread`.
> which calls itree_iterator_create, which xmallocs a new
> itree_iterator, interval_stack, and itree_nodes. Is this memory leak
> going to rust my computer?
No, Emacs is pure C and ELisp, so it doesn't suffer from Rust.
Stefan