• R
    ima: free duplicate measurement memory · 45fae749
    Roberto Sassu 提交于
    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: NRoberto Sassu <roberto.sassu@polito.it>
    Signed-off-by: NMimi Zohar <zohar@us.ibm.com>
    Cc: stable@vger.kernel.org
    45fae749
ima_api.c 5.5 KB