commit | bb3f428c081fb7dd61453ce8cc749d1bf9162c94 | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss@m4x.org> | Tue Apr 11 23:46:01 2017 +0200 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Wed Apr 12 14:46:02 2017 -0400 |
tree | 077ecb0ac5d8a2ac5f90b56af66e030ca34a7397 | |
parent | a9094fae2c7bcd14af7263f9bb7fbacff5bc761c [diff] |
libselinux: getsebool: always free names When getsebool's main() fails to allocate memory for the boolean names, it returns without freeing variables first, even though other errors do this (with label "out"). This silences a warning reported by clang's static analyzer. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>