The following commit has been merged in the master branch:
commit 6531aba22de5ddc449f04c20d4c78a3a7b1fd9c3
Author: Cheyenne Wills <[email protected]>
Date: Thu Jul 1 15:38:08 2021 -0600
comerr: Fix problems found by static analysis
Several static analysis tools have identified various problems:
- files left open from early returns/exits (infer)
- possible memory leaks (scan-build, cppcheck)
To resolve the above problems:
- close files before returning/exiting
- fix possible memory leaks by freeing memory
This commit is a reorganization of commits developed by Pat Riehecky,
who ran the static analysis tools and developed the fixes.
Change-Id: Id8d25bacd2d1e1dee32354248519e3821ffe726c
Reviewed-on: https://gerrit.openafs.org/14681
Reviewed-by: Cheyenne Wills <[email protected]>
Tested-by: BuildBot <[email protected]>
Reviewed-by: Michael Meffie <[email protected]>
src/comerr/compile_et.c | 5 +++++
1 file changed, 5 insertions(+)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs