Jesper Juhl 982d6ab501 line6: fix memory leaks in line6_init_midi()
If the first call to line6_midibuf_init() fails we'll leak a little
bit of memory. If the second call fails we'll leak a bit more. This
happens when we return from the function and the local variable
'line6midi' goes out of scope.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-11-26 16:14:11 -08:00
..
2010-08-31 15:28:16 -07:00
2010-08-31 15:28:15 -07:00
2010-08-31 15:28:16 -07:00
2010-08-31 15:28:16 -07:00
2010-08-31 15:28:16 -07:00