Commit 33f6ba9c authored by Michael Niedermayer's avatar Michael Niedermayer

avdevice/pulse_audio_dec: clear pa_simple pointer after deallocation

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b52c26c6
......@@ -144,6 +144,7 @@ static av_cold int pulse_close(AVFormatContext *s)
{
PulseData *pd = s->priv_data;
pa_simple_free(pd->s);
pd->s = NULL;
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment