[PATCH 3/4] spufs: fix a leak in spufs_create_context()
Christian Brauner
brauner at kernel.org
Thu Mar 13 19:28:43 AEDT 2025
On Thu, Mar 13, 2025 at 04:29:32AM +0000, Al Viro wrote:
> Leak fixes back in 2008 missed one case - if we are trying to set affinity
> and spufs_mkdir() fails, we need to drop the reference to neighbor.
>
> Fixes: 58119068cb27 "[POWERPC] spufs: Fix memory leak on SPU affinity"
> Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
> ---
Reviewed-by: Christian Brauner <brauner at kernel.org>
More information about the Linuxppc-dev
mailing list