Closed strohel closed 1 year ago
LGTM!
This reminds me of a story of a time long past, where I got in trouble for refactoring a C++ function that looked like this:
void foo() { auto* p = new BigClass(); auto* q = new AnotherBigClass(); }
into this:
void foo() { new BigClass(); new AnotherBigClass(); }
If you're going to leak, why not make it obvious right? :P
LGTM!
This reminds me of a story of a time long past, where I got in trouble for refactoring a C++ function that looked like this:
into this:
If you're going to leak, why not make it obvious right? :P