xen/sched: fix memory leak in credit2

csched2_deinit() is leaking the run-queue memory.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Dario Faggioli <dfaggioli@suse.com>
This commit is contained in:
Juergen Gross authored and Andrew Cooper committed 2019-08-07 17:21:14 +01:00
1 parent 5b08072590
commit 70f9dff51e
1 file changed
+2
+2
View File
@@ -4070,6 +4070,8 @@ csched2_deinit(struct scheduler *ops)
prv = csched2_priv(ops);
ops->sched_data = NULL;
if ( prv )
xfree(prv->rqd);
xfree(prv);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.