diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-08-02 21:31:21 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-08-02 21:31:21 +0000 |
commit | 064d84b2521ca869363580e56d314e48668cb3ab (patch) | |
tree | b33e133d4c8be09c2bb35dc17a95aba75ade6444 /lib/libc/stdlib/putenv.c | |
parent | 982fd84b01201a3e526bacc2c658932729cb7725 (diff) | |
download | FreeBSD-src-064d84b2521ca869363580e56d314e48668cb3ab.zip FreeBSD-src-064d84b2521ca869363580e56d314e48668cb3ab.tar.gz |
In getclnthandle(), if the address is found in the cache we need
to strdup() the address string before returning it via *targaddr
because the caller will free the string.
Change the comment at the top of getclnthandle() to clarify that
the caller is responsible for freeing *targaddr.
Noticed by: sobomax
Diffstat (limited to 'lib/libc/stdlib/putenv.c')
0 files changed, 0 insertions, 0 deletions