Skip to content

Plugging several leaks

Edward Hervey requested to merge bilboed/gstreamer:leak-fixes into main

commit cb46ca0e Author: Edward Hervey edward@centricular.com Date: Fri Nov 4 08:41:10 2022 +0100

lv2: Don't leak plugin information on registration

commit ecc100dc Author: Edward Hervey edward@centricular.com Date: Fri Nov 4 08:40:24 2022 +0100

ladspa: Don't leak plugin information on registration

commit 768b540e Author: Edward Hervey edward@centricular.com Date: Fri Nov 4 08:09:52 2022 +0100

fdkaacenc: Properly terminate GEnumValue table

It should be terminated with a NULL entry, otherwise we just stray into the
realms of cryptographic libraries^W^W random memory usage.

commit 1a5e783d Author: Edward Hervey edward@centricular.com Date: Fri Nov 4 08:00:03 2022 +0100

libav: avcfg: Avoid brittle comparision

Subtracting a gint from another (or a guint from another) has no guarantees that
it will result in a gint.

Therefore do the actual comparision instead.

commit 4a11d71b Author: Edward Hervey edward@centricular.com Date: Fri Nov 4 07:59:10 2022 +0100

libav: avcfg: Don't leak duplicate enumvalue entries

If we discard the duplicates, we also need to free the allocated strings.

commit 73ce8bd2 Author: Edward Hervey edward@centricular.com Date: Thu Nov 3 14:08:57 2022 +0100

imagesequencesrc; Fix leaks

* The path was leaked
* The custom buffer was never freed

commit 950c9fdd Author: Edward Hervey edward@centricular.com Date: Thu Nov 3 14:08:02 2022 +0100

qtdemux: Fix cenc-related leaks

commit fbb97d07 Author: Edward Hervey edward@centricular.com Date: Thu Nov 3 14:06:58 2022 +0100

deinterlace: Don't leak metas

There is no correlation between the frame being NULL and the metas not being
present.

commit 9df170c0 Author: Edward Hervey edward@centricular.com Date: Thu Nov 3 14:05:59 2022 +0100

validate: plug some leaks

commit 6ce69282 Author: Edward Hervey edward@centricular.com Date: Mon Oct 31 16:08:23 2022 +0100

adaptivedemux2: Fix collection leaks

* The collection on the period was never unreffed
* The collection in the message handler was never unreffed

commit 5327e0a4 Author: Edward Hervey edward@centricular.com Date: Mon Oct 31 16:06:45 2022 +0100

parsebin: Fix leak

Release the reference on the collection which was given to us when extracting it
from the event/message.

Merge request reports