net sched: fix some kernel memory leaks (backport from upstream)