Suhas Athani has uploaded this change for review.
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@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 change 1220426. To unsubscribe, or for help writing mail filters, visit settings.