summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getopt.3
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-08-02 21:31:21 +0000
committeriedowse <iedowse@FreeBSD.org>2001-08-02 21:31:21 +0000
commit064d84b2521ca869363580e56d314e48668cb3ab (patch)
treeb33e133d4c8be09c2bb35dc17a95aba75ade6444 /lib/libc/stdlib/getopt.3
parent982fd84b01201a3e526bacc2c658932729cb7725 (diff)
downloadFreeBSD-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/getopt.3')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud