This is just a general question, but for example on windows, if i create a pointer to a hostent
struct to use with gethostbyname()
do i have to dealocate memory of that pointer or is it handled for me. I am under the assumption that since I did not specifically call malloc
on it that it is not my job. Can anyone clarify this for me?
Thank you