(no title)
alexgartrell | 2 years ago
Counterpoint is that debugging leaks is ~hopeless unless you have the ability to prune “intentional leaks” at exit
alexgartrell | 2 years ago
Counterpoint is that debugging leaks is ~hopeless unless you have the ability to prune “intentional leaks” at exit
enriquto|2 years ago
Not in general. It depends on your debugger. For example, valgrind distinguishes between harmless "visible leaks", memory blocks allocated from main or on global variables, and "true leaks" that you cannot free anymore. The first ones are given a simple warning by the leak detector, while the true leaks are actual errors.
cryptonector|2 years ago