commit | dd11ab6f7f412fc6d20885fedc9fe5b12fccd49c | [log] [tgz] |
---|---|---|
author | James Carter <jwcart2@tycho.nsa.gov> | Fri Mar 17 15:58:29 2017 -0400 |
committer | James Carter <jwcart2@tycho.nsa.gov> | Tue Mar 21 14:20:43 2017 -0400 |
tree | 7499e2d7162af67ce64f9999e8100e975d9ca896 | |
parent | 9087bb9c5a7bb89553b3e9c67346a60c08ac429f [diff] |
checkpolicy: Fix minor memory leak in checkpolicy sepol_set_sidtab() is called without calling sepol_sidtab_destroy(). This is not a big deal, since checkpolicy does not run for long, but it does add noise when checking for other, more important, leaks. Call sepol_sidtab_destroy() before exiting if not in debug mode. Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>