Takashi Iwai 6b562f63dd ALSA: line6: Fix memory leak at probe error path
Fix memory leak at probe error path by rearranging the call order in
line6_destruct() so that the common destructor is always called.
Also this simplifies the error path to a single goto label.

Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-01-28 07:20:21 +01:00
..
2014-11-05 15:37:22 +01:00
2015-01-20 08:14:17 +01:00
2010-03-05 08:17:14 +01:00
2014-12-11 13:20:50 -08:00
2011-09-14 17:07:02 +02:00