Includes several missing unref(), clear() or free() calls. Reset current_seek since we just cleared all the seeks. Reset all_configs to NULL to prevent double clearing. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9042>