summaryrefslogtreecommitdiff
path: root/sound/usb/line6/driver.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-01-23 12:27:39 +0100
committerTakashi Iwai <tiwai@suse.de>2015-01-28 07:20:21 +0100
commit6b562f63dd603443c97c885daa2b88bff700b2dc (patch)
tree9ea79c17cbc302284385739f95ccbe5d23ba0677 /sound/usb/line6/driver.h
parent644d90850c65c6ac5698e4fadb01682196a25eea (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>
Diffstat (limited to 'sound/usb/line6/driver.h')
0 files changed, 0 insertions, 0 deletions