aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/longlong.h
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-10-19 17:30:25 +0800
committerTakashi Iwai <[email protected]>2022-10-20 14:19:48 +0200
commit4881bda5ea05c8c240fc8afeaa928e2bc43f61fa (patch)
treeaf286aa6742c49fbe406e73f06ba4b2dedd15e02 /lib/mpi/longlong.h
parent491a4ccd8a0258392900c80c6b2b622c7115fc23 (diff)
ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()
If device_register() fails in snd_ac97_dev_register(), it should call put_device() to give up reference, or the name allocated in dev_set_name() is leaked. Fixes: 0ca06a00e206 ("[ALSA] AC97 bus interface for ad-hoc drivers") Signed-off-by: Yang Yingliang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/longlong.h')
0 files changed, 0 insertions, 0 deletions