X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=security%2Fintegrity%2Fiint.c;h=c49d3f14cbec96b49e2b8bedf15b4be570c5a7ef;hb=334a82086d6428ede052c4cd11ee588bcdf2a9e8;hp=74522dbd10a6e093fe293786f83a10ca8d7361bc;hpb=54be8200198ddfc6cb396720460c19881fac2d5a;p=firefly-linux-kernel-4.4.55.git 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) static void iint_free(struct integrity_iint_cache *iint) { + kfree(iint->ima_hash); + iint->ima_hash = NULL; iint->version = 0; iint->flags = 0UL; iint->ima_file_status = INTEGRITY_UNKNOWN;