I forgot to release the allocated object at the early error path in
line6_init_pcm(). For addressing it, slightly shuffle the code so
that the PCM destructor (pcm->private_free) is assigned properly
before all error paths.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| capture.c | ||
| capture.h | ||
| driver.c | ||
| driver.h | ||
| midi.c | ||
| midi.h | ||
| midibuf.c | ||
| midibuf.h | ||
| pcm.c | ||
| pcm.h | ||
| playback.c | ||
| playback.h | ||
| pod.c | ||
| podhd.c | ||
| toneport.c | ||
| variax.c | ||