clparse.c parse_client_lease_statement
When there is an error parsing, call free_client_lease to free the memory assigned to the variable 'lease' before returning early.
Details
Details
Use clang's static analyzer, scan-build, to find the problem and later to show resolution.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Thank you for the submission! I'll take care of the other memory leaks noted by Coverity.