mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +00:00
spufs: fix a leak in spufs_create_context()
[ Upstream commit0f5cce3fc5] 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:58119068cb"[POWERPC] spufs: Fix memory leak on SPU affinity" Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
029d8c711f
commit
d04600f435
1 changed files with 4 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue