commit | c1ba831122be62199d98c50157b5cd5dddbcc471 | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss@m4x.org> | Mon Dec 26 22:18:32 2016 +0100 |
committer | James Carter <jwcart2@tycho.nsa.gov> | Fri Jan 06 13:43:21 2017 -0500 |
tree | 32c8346c7127b4bdd9aa4cbdcd22bab7f142bdf5 | |
parent | 47f61b0ee9a8ed85e935941d2dd7a34e4e7a42d2 [diff] |
checkpolicy: free id where it was leaked Several functions in policy_define.c do not free id after handling it. Add the missing free(id) statements. The places where free(id) was missing were found both with gcc Address Sanitizer and manual code inspection. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>