1
From 05a64c434466029b298ee1e78a988cd6a7f80c0e Mon Sep 17 00:00:00 2001
2
From: John Johansen <john.johansen@canonical.com>
3
Date: Wed, 18 Nov 2015 11:41:05 -0800
4
Subject: [PATCH 14/27] apparmor: fix ref count leak when profile sha1 hash is
7
Signed-off-by: John Johansen <john.johansen@canonical.com>
8
Acked-by: Seth Arnold <seth.arnold@canonical.com>
10
security/apparmor/apparmorfs.c | 1 +
11
1 file changed, 1 insertion(+)
13
diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
14
index 45a6199..0d8dd71 100644
15
--- a/security/apparmor/apparmorfs.c
16
+++ b/security/apparmor/apparmorfs.c
17
@@ -331,6 +331,7 @@ static int aa_fs_seq_hash_show(struct seq_file *seq, void *v)
18
seq_printf(seq, "%.2x", profile->hash[i]);
21
+ aa_put_profile(profile);