commit | aa1a8a3c84d9c04fcf0b53b1bfdbefa502cc22f1 | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss@m4x.org> | Sat Jan 21 15:26:10 2017 +0100 |
committer | James Carter <jwcart2@tycho.nsa.gov> | Mon Jan 23 11:26:30 2017 -0500 |
tree | ef87b16d600d49dc117734d42a230129657a3d00 | |
parent | 4a05e95f196604495642978993bbc90766ec42f6 [diff] |
checkpolicy: always free id in define_type() In function define_type(), some error conditions between "id = queue_remove(id_queue)" and "get_local_type(id, attr->s.value, 1)" returned without freeing id. Fix theses memory leaks. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>