commit | 432077b4dda7baa15b6daa1458759e674d398fa3 | [log] [tgz] |
---|---|---|
author | Yuli Khodorkovskiy <[email protected]> | Thu Feb 26 14:16:00 2015 -0500 |
committer | Steve Lawrence <[email protected]> | Fri Feb 27 08:42:09 2015 -0500 |
tree | 6a8fd1cab82d79ac3d25c5c7b96a7c2d404aee13 | |
parent | 057197c69aaa36cf28694517151479de8ebb3c4c [diff] |
libsemanage: Fix memory leaks when parsing semanage.conf - Free args as they are parsed and strdup args when neccessary. Memory used for lex initialization is now freed using yylex_destroy(). - Add noyywrap option to flex. This is the correct way to make the scanner not call yywrap upon an end of file. Before, we were overriding the function and returning 1. Signed-off-by: Yuli Khodorkovskiy <[email protected]> Acked-by: Steve Lawrence <[email protected]>