Hello, Can anyone with sufficient knowledge give me an answer,
When a function returns a pointer to data, like "GetHostByName";
At which moment the memory of that data is released? Do I have to free it after using the data(delete PointerX) ? because thats what I did but sometimes an memory access error exception occurs.
Thank you in advance.