[PATCH openEuler-1.0-LTS] sched: Fix memory leak for smart grid