mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
4881bda5ea
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:
|
||
---|---|---|
.. | ||
ac97_codec.c | ||
ac97_id.h | ||
ac97_local.h | ||
ac97_patch.c | ||
ac97_patch.h | ||
ac97_pcm.c | ||
ac97_proc.c | ||
Makefile |