Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b938a2e authored by John Johansen's avatar John Johansen
Browse files

apparmor: fix ref count leak when profile sha1 hash is read

parent 23ca7b64
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -331,6 +331,7 @@ static int aa_fs_seq_hash_show(struct seq_file *seq, void *v)
			seq_printf(seq, "%.2x", profile->hash[i]);
		seq_puts(seq, "\n");
	}
	aa_put_profile(profile);

	return 0;
}