va: vpp: Fix the memory leak in fixate_caps().
authorHe Junyan <junyan.he@intel.com>
Mon, 22 Nov 2021 09:34:22 +0000 (17:34 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 22 Nov 2021 10:54:23 +0000 (10:54 +0000)
commita14f0da324fdd2cdd55976b8c381a8f58402238f
tree7a1321c12c4c51bcd6bbf48db443387d9eea40c3
parentf8bc5e89fdd7deb43a0604d2dd8ca17e058edcc7
va: vpp: Fix the memory leak in fixate_caps().

For the BaseTransform class, the function of fixate_caps(), takes
the ownership of "othercaps". So we should clear it in our subclass.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1372>
subprojects/gst-plugins-bad/sys/va/gstvavpp.c