mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 18:22:23 +00:00
validate: unref last_caps when destroying pad monitor
Reviewers: thiblahute Reviewed By: thiblahute Differential Revision: http://phabricator.freedesktop.org/D150
This commit is contained in:
parent
5a5f718900
commit
0417e47e50
1 changed files with 1 additions and 0 deletions
|
@ -858,6 +858,7 @@ gst_validate_pad_monitor_dispose (GObject * object)
|
||||||
g_ptr_array_unref (monitor->serialized_events);
|
g_ptr_array_unref (monitor->serialized_events);
|
||||||
g_list_free_full (monitor->expired_events, (GDestroyNotify) gst_event_unref);
|
g_list_free_full (monitor->expired_events, (GDestroyNotify) gst_event_unref);
|
||||||
g_list_free_full (monitor->all_bufs, (GDestroyNotify) gst_buffer_unref);
|
g_list_free_full (monitor->all_bufs, (GDestroyNotify) gst_buffer_unref);
|
||||||
|
gst_caps_replace (&monitor->last_caps, NULL);
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue