commit | a0fd4345f928d72a56e27b23e4cd28c94bf36be5 | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia@diku.dk> | Fri Apr 02 14:47:59 2010 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Sun Apr 04 12:21:42 2010 +0200 |
tree | c4eb9cbfebfb66bd68ab4070285f9f1920dd4627 | |
parent | f11947c7c5b8abffd328739996dfdffef2b3e03f [diff] |
ALSA: echoaudio - Eliminate use after free Use the call to snd_card_free in the error handling code at the end of the function, as in the other error cases. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression E,E2; @@ snd_card_free(E) ... ( E = E2 | * E ) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Takashi Iwai <tiwai@suse.de>