Sebastian Dröge 08c56f3e2d element: ref-sink the correct pad template when replacing an existing one
templ is the new one that is being stored and that needs to be ref-sinked,
padtempl is the old one that just needs to be unreffed.

Fixes leaking the old template, and also makes sure that the new template is not
floating which can cause use-after-frees with bindings as they might wrongly
take ownership of a still floating template.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8988>
2025-05-16 17:47:47 +00:00
..
2025-05-10 23:23:14 +00:00
2025-03-13 11:37:35 +00:00
2025-03-13 11:37:35 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-04-30 10:18:57 +00:00
2025-05-02 05:54:56 +00:00
2025-04-08 11:45:11 +00:00
2025-02-17 06:30:17 +00:00
2025-05-01 23:16:25 +09:00
2025-02-17 06:30:17 +00:00
2025-04-30 10:18:57 +00:00
2025-02-17 06:30:17 +00:00