Commit 2c5f23c4 authored by John Johansen's avatar John Johansen Committed by Tim Gardner

Revert "UBUNTU: SAUCE: apparmor: Fix: refcount bug when inserting label update that transitions ns"

BugLink: http://bugs.launchpad.net/bugs/1379535

This reverts commit cfc72134ff8c7fba8f3e0711f900826e817eed5c.
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent b322f3d5
...@@ -1875,8 +1875,7 @@ static struct aa_label *__label_update(struct aa_label *label) ...@@ -1875,8 +1875,7 @@ static struct aa_label *__label_update(struct aa_label *label)
if (tmp != l) { if (tmp != l) {
aa_put_label(l); aa_put_label(l);
l = tmp; l = tmp;
} else }
aa_put_label(l); /* extra ref */
return l; return l;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment