Nothing will be freed, as RTInfo won't have the address of the memory that was allocated
You would need to do put your delete statement BEFORE you set your pointer to NULL
Nothing will leak since there was no "new".
That is true, assuming there is no 'new' in the //do some stuffs section