On Fri, 18 Feb 2022 at 16:53, Damien Hedde <damien.he...@greensocs.com> wrote: > > The array is dynamically allocated by realize() depending on the > number of harts. > > This clean-up removes memory leaks which would happen in the > 'init->finalize' life-cycle use-case (happening when user creation > is allowed).
If the allocation happens in realize, then it won't hapen in an init->finalize cycle, only in init->realize->unrealize->finalize... -- PMM