mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
validate: pad-monitor: fix caps leaks
These caps were not released when disposing the pad monitor. https://bugzilla.gnome.org/show_bug.cgi?id=778279
This commit is contained in:
parent
addd76fc85
commit
4c5ba39bfe
1 changed files with 2 additions and 0 deletions
|
@ -860,6 +860,8 @@ gst_validate_pad_monitor_dispose (GObject * object)
|
|||
g_list_free_full (monitor->expired_events, (GDestroyNotify) gst_event_unref);
|
||||
g_list_free_full (monitor->all_bufs, (GDestroyNotify) gst_buffer_unref);
|
||||
gst_caps_replace (&monitor->last_caps, NULL);
|
||||
gst_caps_replace (&monitor->last_query_res, NULL);
|
||||
gst_caps_replace (&monitor->last_query_filter, NULL);
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue