diff options
author | Daniel Stenberg <daniel@haxx.se> | 2013-02-13 11:01:29 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-02-13 11:01:50 +0100 |
commit | df72bed2e328fe5dda2bdf781f52ff7aa5b9ae16 (patch) | |
tree | a3ec2cf50b7c5b8697c2217ed15bac6043d9ac03 /ares_expand_name.3 | |
parent | 75a8407985ce139f5f4d0c4afc19c4e330f3f3c9 (diff) | |
download | c-ares-df72bed2e328fe5dda2bdf781f52ff7aa5b9ae16.tar.gz c-ares-df72bed2e328fe5dda2bdf781f52ff7aa5b9ae16.tar.bz2 c-ares-df72bed2e328fe5dda2bdf781f52ff7aa5b9ae16.zip |
ares_expand_name.3: clarify how to free the data
Diffstat (limited to 'ares_expand_name.3')
-rw-r--r-- | ares_expand_name.3 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ares_expand_name.3 b/ares_expand_name.3 index 1761a9a..fc18df3 100644 --- a/ares_expand_name.3 +++ b/ares_expand_name.3 @@ -43,6 +43,8 @@ The length of the encoded name is stored in the variable pointed to by .I enclen so that the caller can advance past the encoded domain name to read further data in the message. + +Use \fIares_free_string(3)\fP to free the allocated hostname. .SH RETURN VALUES .B ares_expand_name can return any of the following values: @@ -56,7 +58,7 @@ The encoded domain name was malformed and could not be expanded. .B ARES_ENOMEM Memory was exhausted. .SH SEE ALSO -.BR ares_mkquery (3) +.BR ares_mkquery (3), ares_free_string (3) .SH AUTHOR Greg Hudson, MIT Information Systems .br |