Skip to content
Snippets Groups Projects
Commit 2cb54a19 authored by John Johansen's avatar John Johansen
Browse files

apparmor: Fix ref count leak in task_kill


apparmor_task_kill was not putting the task_cred reference tc, or the
cred_label reference tc when dealing with a passed in cred, fix this
by using a single fn exit.

Fixes: 90c436a6 ("apparmor: pass cred through to audit info.")
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 1cba2750
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment