Message ID | 20170331125744.16986-4-john.johansen@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/security/apparmor/label.c b/security/apparmor/label.c index 738fe52..05ac6d6 100644 --- a/security/apparmor/label.c +++ b/security/apparmor/label.c @@ -1083,7 +1083,6 @@ static struct aa_label *label_merge_insert(struct aa_label *new, /* TODO: deal with reference labels */ if (new->size == 1) { label = aa_get_label(&new->vec[0]->label); - aa_put_label(new); return label; } } else if (!stale) {