03b7fd7e54
In some case, we may create sched port dynamically, if err when creating so memory will leak. Fixes: de3cfa2c9823 ("sched: initial import") Cc: stable@dpdk.org Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>