Backport of "GstPlay: missing cleanup for g_autoptr" into 1.20
requested to merge tpm/gstreamer:backport-mr-2888-into-1.20-fix-gst-play-missing-cleanu-for-g_autoptr into 1.20
Backport of !2888 (merged) "gst-play: missing cleanup for g_autoptr".
Commits:
- d2fcf857 gst-play: missing cleanup for g_autoptr