Resource Handling Rule 1: Any locally scoped pointer to a heap-allocated object must be pushed onto the Cleanup Stack if there is a risk of a leave occurring and there is no other reference to the object elsewhere.
Resource Handling Rule 1: Any locally scoped pointer to a heap-allocated object must be pushed onto the Cleanup Stack if there is a risk of a leave occurring and there is no other reference to the object elsewhere.
Leave a Reply