diff options
author | Roberto Sassu <roberto.sassu@polito.it> | 2011-12-19 14:57:27 (GMT) |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2011-12-20 03:04:32 (GMT) |
commit | 45fae7493970d7c45626ccd96d4a74f5f1eea5a9 (patch) | |
tree | 0c7bdd82bfcb4bd921a64abb441ca5c20c82a3df /sound/drivers/pcm-indirect2.c | |
parent | 114d6e9c103736487c967060d0a7aec9a7fce967 (diff) | |
download | linux-fsl-qoriq-45fae7493970d7c45626ccd96d4a74f5f1eea5a9.tar.xz |
ima: free duplicate measurement memory
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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/drivers/pcm-indirect2.c')
0 files changed, 0 insertions, 0 deletions