From: Gou Hao <gouhao@xxxxxxxxxxxxx> patch1: is memory leak of audit rule patch2~3: is memory leak about 'fsname' field of struct ima_rule_entry Tyler Hicks (3): ima: Have the LSM free its audit rule ima: Free the entire rule when deleting a list of rules ima: Free the entire rule if it fails to parse security/integrity/ima/ima.h | 5 +++++ security/integrity/ima/ima_policy.c | 24 ++++++++++++++++++------ 2 files changed, 23 insertions(+), 6 deletions(-) -- 2.20.1