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
@ -858,6 +858,7 @@ gst_validate_pad_monitor_dispose (GObject * object)
|
||||
g_ptr_array_unref (monitor->serialized_events);
|
||||
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);
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user