From: Daniel THOMPSON Date: Fri, 15 Aug 2008 09:53:38 +0000 (+0100) Subject: sound: Fix esoteric double free in the dummy sound driver. X-Git-Tag: v2.6.28-rc1~720^2~186 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54e8e21ed21ca8788aa75294067494abebf9d550;p=pandora-kernel.git sound: Fix esoteric double free in the dummy sound driver. The dummy driver uses runtime->private_free but still frees its pcm structures on error paths. This is esoteric because the error paths in question are unreachable. Thus the bug is only a problem when someone copies this code into other drivers. Signed-off-by: Daniel R Thompson Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed