gstreamer/tests/check/libs
Sebastian Dröge defe732ae0 aggregator: Release pads' peeked buffer when removing the pad or finalizing it
The peeked buffer was always reset after calling ::aggregate() but under
no other circumstances. If a pad was removed after peeking and before
::aggregate() returned then the peeked buffer would be leaked.

This can easily happen if pads are removed from the aggregator from a
pad probe downstream of the source pad but still in the source pad's
streaming thread.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/784>
2021-04-06 21:17:56 +03:00
..
adapter.c tests: fix tests when compiling with glib_checks=disabled 2018-11-10 15:37:36 +00:00
aggregator.c aggregator: Release pads' peeked buffer when removing the pad or finalizing it 2021-04-06 21:17:56 +03:00
baseparse.c baseparse: prefer upstream caps rather than overriding 2020-09-18 08:12:30 +00:00
basesink.c gstbasesink: Include segment.offset in the computation of position 2018-02-16 10:35:14 -03:00
basesrc.c basesrc: Add public gst_base_src_negotiate () function 2019-07-01 11:16:09 +02:00
bitreader-noinline.c tests: add unit test for bitreader, bytereader and bytewriter with no inlining used 2013-12-14 21:20:45 +00:00
bitreader.c Fix FSF address 2012-11-03 20:44:48 +00:00
bitwriter.c bitwriter: Add unit tests 2018-05-06 17:05:27 +02:00
bytereader-noinline.c tests: add unit test for bitreader, bytereader and bytewriter with no inlining used 2013-12-14 21:20:45 +00:00
bytereader.c bytereader: fix peek value when scanning for 00 00 01 with non-0 offset 2017-02-22 11:07:24 +00:00
bytewriter-noinline.c tests: add unit test for bitreader, bytereader and bytewriter with no inlining used 2013-12-14 21:20:45 +00:00
bytewriter.c Fix FSF address 2012-11-03 20:44:48 +00:00
collectpads.c documentation: fix a number of typos 2019-10-06 11:12:11 -04:00
controller.c gst: don't use volatile to mean atomic 2021-03-19 04:15:19 +00:00
flowcombiner.c flowcombiner: passthrough the flow return if there are no pads 2020-03-26 02:31:52 +00:00
gstharness.c harness: Handle element not being set cleanly. 2020-10-30 23:46:07 +11:00
gstlibscpp.cc tests: Add C++ tests for the other INIT macros we have 2016-04-07 20:29:10 +03:00
gstnetclientclock.c tests: include config.h and don't include unix headers 2017-11-24 13:41:20 +01:00
gstnettimeprovider.c tests: include config.h and don't include unix headers 2017-11-24 13:41:20 +01:00
gsttestclock.c check: testclock: Check return values 2020-05-08 12:11:20 +02:00
libsabi.c tests: fix ABI check struct sizes for ARM 2013-01-17 09:27:48 +00:00
queuearray.c API: gst_queue_array_peek_nth 2018-04-14 00:14:56 +02:00
sparsefile.c sparsefile: Initialize memory in unit test to make valgrind happy 2014-06-29 19:16:05 +02:00
struct_arm.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_hppa.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_i386.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_ppc32.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_ppc64.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_sparc.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_x86_64.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
test_transform.c basetransform: handle invalid subclass implementation for fixate_caps 2020-07-28 14:14:38 +00:00
transform1.c basetransform: handle invalid subclass implementation for fixate_caps 2020-07-28 14:14:38 +00:00
transform2.c tests: transform1: make test work with CK_FORK=no 2016-04-11 10:36:44 +01:00
typefindhelper.c Fix FSF address 2012-11-03 20:44:48 +00:00