From: Takashi Iwai Date: Fri, 23 Jan 2015 11:27:39 +0000 (+0100) Subject: ALSA: line6: Fix memory leak at probe error path X-Git-Tag: fixes-v4.0-rc1~146^2~35^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b562f63dd603443c97c885daa2b88bff700b2dc;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed