diff options
Diffstat (limited to 'security/integrity/iint.c')
-rw-r--r-- | security/integrity/iint.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/integrity/iint.c b/security/integrity/iint.c index 74522dbd10a6..c49d3f14cbec 100644 --- a/security/integrity/iint.c +++ b/security/integrity/iint.c | |||
@@ -70,6 +70,8 @@ struct integrity_iint_cache *integrity_iint_find(struct inode *inode) | |||
70 | 70 | ||
71 | static void iint_free(struct integrity_iint_cache *iint) | 71 | static void iint_free(struct integrity_iint_cache *iint) |
72 | { | 72 | { |
73 | kfree(iint->ima_hash); | ||
74 | iint->ima_hash = NULL; | ||
73 | iint->version = 0; | 75 | iint->version = 0; |
74 | iint->flags = 0UL; | 76 | iint->flags = 0UL; |
75 | iint->ima_file_status = INTEGRITY_UNKNOWN; | 77 | iint->ima_file_status = INTEGRITY_UNKNOWN; |