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

Commit 4ef079cc authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by David S. Miller
Browse files

netns: fix net_generic array leak

parent 3497b2f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ static void net_free(struct net *net)
		return;
	}
#endif

	kfree(net->gen);
	kmem_cache_free(net_cachep, net);
}