Skip to content
Commit 0f5cce3f authored by Al Viro's avatar Al Viro
Browse files

spufs: fix a leak in spufs_create_context()



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: 58119068 "[POWERPC] spufs: Fix memory leak on SPU affinity"
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent c134deab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment