diff options
author | Roberto Sassu <roberto.sassu@polito.it> | 2011-12-19 15:57:27 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-25 16:13:20 -0800 |
commit | 4483c1f05a5e7ac2b14b735e1db11950010e8f4c (patch) | |
tree | 08809359101e5a4a3f130fa0404cf041d2fe3785 /usr | |
parent | 45c5b2b95f829018321325129d824a6154d5f955 (diff) | |
download | kernel-common-4483c1f05a5e7ac2b14b735e1db11950010e8f4c.tar.gz kernel-common-4483c1f05a5e7ac2b14b735e1db11950010e8f4c.tar.bz2 kernel-common-4483c1f05a5e7ac2b14b735e1db11950010e8f4c.zip |
ima: free duplicate measurement memory
commit 45fae7493970d7c45626ccd96d4a74f5f1eea5a9 upstream.
Info about new measurements are cached in the iint for performance. When
the inode is flushed from cache, the associated iint is flushed as well.
Subsequent access to the inode will cause the inode to be re-measured and
will attempt to add a duplicate entry to the measurement list.
This patch frees the duplicate measurement memory, fixing a memory leak.
Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions