rem: for (r=0; dst->h_addr_list[r];r++) free(dst->h_addr_list[r]); free(dst->h_addr_list[r]); free(dst->h_addr_list);
add: for (r=0; dst->h_addr_list[r];r++) pkg_free(dst->h_addr_list[r]); pkg_free(dst->h_addr_list[r]); pkg_free(dst->h_addr_list);
context: void free_hostent(struct hostent *dst){	int r;	if (dst->h_name) free(dst->h_name);	if (dst->h_aliases){		for(r=0; dst->h_aliases[r]; r++)	free(dst->h_aliases[r]);		free(dst->h_aliases[r]);		free(dst->h_aliases);	}	if (dst->h_addr_list){		for (r=0; dst->h_addr_list[r];r++) free(dst->h_addr_list[r]);		free(dst->h_addr_list[r]);		free(dst->h_addr_list);	}}