diff options
-rw-r--r-- | pcm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -160,6 +160,8 @@ static int pcm_hw_free(struct snd_pcm_substream *substream) err = DO_AUDIOPATH_CB( (struct snd_avirt_audiopath *)PRIVATE_DATA(substream)->audiopath, hw_free, substream); + if (err < 0) + return err; return snd_pcm_lib_free_vmalloc_buffer(substream); } |