[Libosinfo] [osinfo-db-tools PATCH 0/3] Fix coverity/clang issues
Fabiano Fidêncio
fidencio at redhat.com
Mon May 20 12:39:10 UTC 2019
This series fixes 3 issues found by either coverity or clang.
The issues are:
- FORWARD_NULL, due to the possibility of calling unlink(NULL) in the
osinfo-db-import code;
- DEADCODE, due to err being declared, instantiated but never used in the
osinfo-db-export code;
- A memory leak of memory pointed to by "files";
Fabiano Fidêncio (3):
import: Don't call unlink(NULL)
export: Remove unused variable
validate: Don't leak "files"
tools/osinfo-db-export.c | 3 ---
tools/osinfo-db-import.c | 2 +-
tools/osinfo-db-validate.c | 1 +
3 files changed, 2 insertions(+), 4 deletions(-)
--
2.21.0
More information about the Libosinfo
mailing list