Re:The Curious Case of a Memory Leak in a Zig Program
by LoganDark on Sunday March 19, 2023 @05:35AM
(#35217413)
> invariant
There is absolutely no such invariant here that allocations must be freed in the reverse order that they were allocated in. This was never a part of the contract.
There is absolutely no such invariant here that allocations must be freed in the reverse order that they were allocated in. This was never a part of the contract.
> this particular one's API has quite the footgun
Agreed, however.