Commit 8c427343 authored by Takashi Sakamoto's avatar Takashi Sakamoto Committed by Lee Jones
Browse files

ALSA: isight: fix leak of reference to firewire unit in error path of .probe callback



[ Upstream commit 51e68fb0 ]

In some error paths, reference count of firewire unit is not decreased.
This commit fixes the bug.

Fixes: 5b14ec25('ALSA: firewire: release reference count of firewire unit in .remove callback of bus driver')
Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Change-Id: Ia70c0679e7677c3f41eaa5ec2372737eb2f3b803
parent d6b5bcf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment