mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 21:01:14 +00:00
streams: Reset stream id field on finalize
If debugging is activated, the parent class finalize might attempt to read it Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3390>
This commit is contained in:
parent
219c5cf330
commit
ba0c95312e
1 changed files with 1 additions and 0 deletions
|
@ -191,6 +191,7 @@ gst_stream_finalize (GObject * object)
|
|||
(GstMiniObject *) NULL);
|
||||
gst_caps_replace (&stream->priv->caps, NULL);
|
||||
g_free ((gchar *) stream->stream_id);
|
||||
stream->stream_id = NULL;
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue