Issue Description
Fix the issue rated as "important" reported by coverity scan static analyzer
Package Version and Platform:
Platform: Fedora
Package and version: main branch
Additional context
Using some internal tools to run coverity scan
osh-cli mock-build --config=fedora-rawhide-x86_64 $WS/dist/srpms/389-ds-base-*.src.rpm
But I guess this should also be visible in the github coverity scan test results
Issue Description Fix the issue rated as "important" reported by coverity scan static analyzer
Package Version and Platform:
Additional context
Using some internal tools to run coverity scan
osh-cli mock-build --config=fedora-rawhide-x86_64 $WS/dist/srpms/389-ds-base-*.src.rpm
But I guess this should also be visible in the github coverity scan test resultsTriaged: https://issues.redhat.com/browse/IDMDS-4302