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

Commit b8f25427 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "selinux: cleanup the internal AVC counters on error in avc_update()"

parents fac8c15b 268df1fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -913,7 +913,7 @@ static int avc_update_node(struct selinux_avc *avc,
	if (orig->ae.xp_node) {
		rc = avc_xperms_populate(node, orig->ae.xp_node);
		if (rc) {
			kmem_cache_free(avc_node_cachep, node);
			avc_node_kill(avc, node);
			goto out_unlock;
		}
	}