mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
collectpads: Fix memory leak in unit test
This commit is contained in:
parent
ed9d0381b2
commit
3e340ea655
1 changed files with 1 additions and 0 deletions
|
@ -836,6 +836,7 @@ setup_src_pad (GstElement * element,
|
|||
"Could not link source and %s sink pads", GST_ELEMENT_NAME (element));
|
||||
gst_pad_set_event_function (srcpad, src_event);
|
||||
gst_pad_set_active (srcpad, TRUE);
|
||||
gst_object_unref (sinkpad);
|
||||
|
||||
return srcpad;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue