From: Dan Carpenter Date: Wed, 31 Jul 2013 08:52:44 +0000 (+0300) Subject: ASoC: dapm: using freed pointer in dapm_kcontrol_add_widget() X-Git-Tag: v3.12-rc1~150^2~9^2~45^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46a02c978fbc79de856d0fe7a8c1d4fc620796e0;p=pandora-kernel.git ASoC: dapm: using freed pointer in dapm_kcontrol_add_widget() There is a typo here so we end up using the old freed pointer instead of the newly allocated one. (If the "n" is zero then the code works, obviously). Signed-off-by: Dan Carpenter Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed