Don't return (or dereference) dangling pointer