diff --git a/xen/common/sched_credit2.c b/xen/common/sched_credit2.c index 6fff210ca6..6b77da7476 100644 --- a/xen/common/sched_credit2.c +++ b/xen/common/sched_credit2.c @@ -4070,6 +4070,8 @@ csched2_deinit(struct scheduler *ops) prv = csched2_priv(ops); ops->sched_data = NULL; + if ( prv ) + xfree(prv->rqd); xfree(prv); }