mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-07 16:49:52 +00:00
multifilesink: reset ->streamheaders to NULL on _stop
Fixes invalid memory access reusing multifilesink
This commit is contained in:
parent
e70020b456
commit
ad996feb28
1 changed files with 1 additions and 0 deletions
|
@ -380,6 +380,7 @@ gst_multi_file_sink_stop (GstBaseSink * sink)
|
|||
gst_buffer_unref (multifilesink->streamheaders[i]);
|
||||
}
|
||||
g_free (multifilesink->streamheaders);
|
||||
multifilesink->streamheaders = NULL;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue