4 ms·Why you shouldn't ALWAYS quick return from a function2 points by gitgud 9y agodvhh 9y agoWhat about using scoped pointers ? Also C would usually handle it with one exit point but using goto to jump to the cleanup/return part.