sdpsrc: fix double free if sdp is provided as string via the property
authorTim-Philipp Müller <tim@centricular.com>
Fri, 19 Feb 2021 00:03:00 +0000 (00:03 +0000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 19 Feb 2021 00:05:41 +0000 (00:05 +0000)
commit438449db697c7743a10dcbe20aeee5d39b0463bc
tree42730d5afa545f4a0c899c01f8fee4be6af03219
parent8d1a79e5203da089fda22a7569e8a8670fcb3b44
sdpsrc: fix double free if sdp is provided as string via the property

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1532

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2025>
gst/sdp/gstsdpsrc.c