Backport of "dvbsubenc: fixed some memory leaks and a crash" into 1.22
requested to merge gstreamer-backport-bot/gstreamer:mr-6661-backport-into-1.22-gst-plugins-bad-dvbsubenc-fixes into 1.22
Backport of !6661 (merged) "dvbsubenc: fixed some memory leaks and a crash".
Commits:
- 26acd70c dvbsubenc: fixed some memory leaks and a crash