Issues with pointer and freeing its associated memory

Printable View