community/kio: backport patches as requested upstream

Fixes a memory leak
8 jobs for !21404 with community_kio in 3 seconds (queued for 3 seconds)
detached
Status Job ID Name Coverage
  Lint
canceled #392057
docker-alpine x86_64 allowed to fail
lint

00:00:03

 
  Build
canceled #392062
docker-alpine ci-build aarch64
build-aarch64

canceled #392064
docker-alpine ci-build armhf
build-armhf

canceled #392063
docker-alpine ci-build armv7
build-armv7

canceled #392061
docker-alpine ci-build ppc64le
build-ppc64le

canceled #392060
docker-alpine ci-build s390x
build-s390x

canceled #392059
docker-alpine ci-build x86
build-x86

canceled #392058
docker-alpine ci-build x86_64
build-x86_64