Suhas Athani has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1220426?usp=email )
Change subject: Fix resource leak in gsh_libunwind (Coverity CID 583559)
......................................................................
Fix resource leak in gsh_libunwind (Coverity CID 583559)
A file descriptor resource leak in gsh_libunwind.The fd
obtained via open() when writing backtrace output to a
log file was not being closed before returning from the
function.
The fix ensures that fd is closed in all exit paths,
including normal and error paths.
Change-Id: I81f153d495391137a0f392b5903dd4f787f9cc88
Signed-off-by: Suhas Athani <Suhas.Athani(a)ibm.com>
---
M src/log/log_functions.c
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/26/1220426/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1220426?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I81f153d495391137a0f392b5903dd4f787f9cc88
Gerrit-Change-Number: 1220426
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>