mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-01 09:21:03 +00:00
pad-monitor: plug caps leak on iterator resync
This commit is contained in:
parent
389f6d96b4
commit
10fe72aa52
1 changed files with 2 additions and 1 deletions
|
@ -486,7 +486,8 @@ gst_validate_pad_monitor_get_othercaps (GstValidatePadMonitor * monitor,
|
|||
break;
|
||||
case GST_ITERATOR_RESYNC:
|
||||
gst_iterator_resync (iter);
|
||||
gst_caps_replace (&caps, gst_caps_new_empty ());
|
||||
gst_caps_unref (caps);
|
||||
caps = gst_caps_new_empty ();
|
||||
break;
|
||||
case GST_ITERATOR_ERROR:
|
||||
GST_WARNING_OBJECT (monitor->pad, "Internal links pad iteration error");
|
||||
|
|
Loading…
Reference in a new issue