Check for memory leaks when not using return value