Searched hist:"588558 eb" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/security/apparmor/ |
H A D | apparmorfs.c | 588558eb Tue Mar 27 08:35:58 CDT 2018 Colin Ian King <colin.king@canonical.com> apparmor: fix memory leak on buffer on error exit path
Currently on the error exit path the allocated buffer is not free'd causing a memory leak. Fix this by kfree'ing it.
Detected by CoverityScan, CID#1466876 ("Resource leaks")
Fixes: 1180b4c757aa ("apparmor: fix dangling symlinks to policy rawdata after replacement") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: John Johansen <john.johansen@canonical.com> 588558eb Tue Mar 27 08:35:58 CDT 2018 Colin Ian King <colin.king@canonical.com> apparmor: fix memory leak on buffer on error exit path Currently on the error exit path the allocated buffer is not free'd causing a memory leak. Fix this by kfree'ing it. Detected by CoverityScan, CID#1466876 ("Resource leaks") Fixes: 1180b4c757aa ("apparmor: fix dangling symlinks to policy rawdata after replacement") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
|