summaryrefslogtreecommitdiffstats
path: root/bin/ln
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2016-05-25 18:38:30 +0000
committertruckman <truckman@FreeBSD.org>2016-05-25 18:38:30 +0000
commit24dfc68c5cf50551cd4f342ba0f5496c53557d9d (patch)
tree279197a79817df4c9694513dac5637af606e7eab /bin/ln
parent95a437124baf399b7a62c426eb61f60401c0f4c0 (diff)
downloadFreeBSD-src-24dfc68c5cf50551cd4f342ba0f5496c53557d9d.zip
FreeBSD-src-24dfc68c5cf50551cd4f342ba0f5496c53557d9d.tar.gz
Close the input FILE * in read_file() and the output FILE * in write_file()
if read_stream() or write_stream() fails to avoid leaking the FILE. Reported by: Coverity CID: 977702 Reviewed by: pfg MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6554
Diffstat (limited to 'bin/ln')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud