Not leaking memory is best practice