On Thu, 13 Jul 2017 21:33:05 +0200, ? ? wrote: > > From: Kui Wang <wangkuisuper@xxxxxxxxxxx> > > When pulse_hw_constraint returns error, snd_pcm_ioplug_delete() is called. > It will then call pulse_close() where "snd_pcm_pulse_t *pcm" will be free. > Then if goto the "error" label, the "snd_pcm_pulse_t *pcm" will be double-free. > > To prevent this, just jump over the code which might cause double-free. > > Signed-off-by: Kui Wang <wangkuisuper@xxxxxxxxxxx> Applied, thanks. Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel