ALSA: pcm: remember to always call va_end() on stuff that we va_start()
authorJesper Juhl <jj@chaosbits.net>
Mon, 20 Dec 2010 23:03:17 +0000 (00:03 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Dec 2010 07:03:09 +0000 (08:03 +0100)
The Coverity checker spotted that we do not always remember to call
va_end() on 'args' in failure paths in snd_pcm_hw_rule_add().
Here's a patch to fix that up (compile tested only) - it also removes
some annoying trailing whitespace that caught my eye while I was in the
area..

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found