commit | fd6bc593b809a055071edb620e9b17169c7a5c26 | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss@m4x.org> | Wed Dec 21 19:21:00 2016 +0100 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Wed Dec 21 13:40:11 2016 -0500 |
tree | 6fb21127b367df92bebff8fd532ad3ef0fdca4ca | |
parent | 9e0cf6ec8aa009c9640bcf956f212d238b32c31e [diff] |
libsemanage/tests: test more cases of semanage_split*() Before modifying semanage_split_on_space() and semanage_split(), test in test_utilities.c how these functions behave for example when several delimiter tokens are concatenated in the input string. While at it, fix the memory leaks which were present in libsemanage tests. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>