Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rotateSingleLog: free
savedContext
when setSecCtxByName
fails
``` Error: RESOURCE_LEAK (CWE-772): logrotate-3.18.0/logrotate.c:2032: alloc_arg: "setSecCtxByName" allocates memory that is stored into "savedContext". logrotate-3.18.0/logrotate.c:2034: leaked_storage: Variable "savedContext" going out of scope leaks the storage it points to. ```
- Loading branch information