summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Object/Binary.cpp
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2015-01-30 09:44:29 +0000
committerpjd <pjd@FreeBSD.org>2015-01-30 09:44:29 +0000
commitd08c53259eac79d61d0f15af9d8a2c5e09e4f89d (patch)
tree4499682cef8975f23d00e1fba77542ee63bee8bd /contrib/llvm/lib/Object/Binary.cpp
parent30e216f85893cebc73455d1d87e357e9867988c2 (diff)
downloadFreeBSD-src-d08c53259eac79d61d0f15af9d8a2c5e09e4f89d.zip
FreeBSD-src-d08c53259eac79d61d0f15af9d8a2c5e09e4f89d.tar.gz
If moving descriptor or binary data to an nvlist fails, we need to close the
descriptor or free the memory before returning. Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org> While here, protect errno, so it won't be overwritted by close(2) or free(3).
Diffstat (limited to 'contrib/llvm/lib/Object/Binary.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud