From: Dario Faggioli Date: Fri, 15 Nov 2013 16:43:28 +0000 (+0100) Subject: fix leaking of v->cpu_affinity_saved on domain destruction X-Git-Tag: 4.4.0-rc1~212 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6757efe1bf50ac7ff68fa4dd7d9333529f70ae9a;p=xen.git fix leaking of v->cpu_affinity_saved on domain destruction Signed-off-by: Dario Faggioli Reviewed-by: George Dunlap Acked-by: Ian Jackson Reviewed-by: Jan Beulich --- diff --git a/xen/common/domain.c b/xen/common/domain.c index 1162e5585c..2cbc4891aa 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -736,6 +736,7 @@ static void complete_domain_destroy(struct rcu_head *head) { free_cpumask_var(v->cpu_affinity); free_cpumask_var(v->cpu_affinity_tmp); + free_cpumask_var(v->cpu_affinity_saved); free_cpumask_var(v->vcpu_dirty_cpumask); free_vcpu_struct(v); }