News for hackers. Stuff that matters.
Re:Rust RAII is better than the Haskell bracket pattern by dbaupp on Tuesday October 09, 2018 @04:58PM (#18179759)
No, typically, a reference cycle is fine. It results in valid memory that never gets read again, which is unfortunate but not dangerous, whereas double-frees can result in memory corruption. http://huonw.github.io/blog/2016/04/memory-leaks-are-memory-...

There are no comments on this comment yet.