commit | 6b562f63dd603443c97c885daa2b88bff700b2dc | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Jan 23 12:27:39 2015 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Jan 28 07:20:21 2015 +0100 |
tree | 9ea79c17cbc302284385739f95ccbe5d23ba0677 | |
parent | 644d90850c65c6ac5698e4fadb01682196a25eea [diff] |
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>