| ▲ | skissane 4 days ago | |
> Yeah, it panics when you use after free. I wasn’t talking about use-after-free, I was talking about memory leaks - when you get a pointer from malloc(), and then you destroy your last copy of the pointer without ever having called free() on it. Can the GC be configured to warn/panic if it deallocates a memory block which the program failed to explicitly deallocate? | ||