diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-23 11:27:39 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-28 06:20:21 (GMT) |
commit | 6b562f63dd603443c97c885daa2b88bff700b2dc (patch) | |
tree | 9ea79c17cbc302284385739f95ccbe5d23ba0677 /include | |
parent | 644d90850c65c6ac5698e4fadb01682196a25eea (diff) | |
download | linux-6b562f63dd603443c97c885daa2b88bff700b2dc.tar.xz |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions