fix a memory leak in: [PATCH] x86: eliminate hard-coded NR_IRQS
PATCH 1/1 fix a memory leak in: [PATCH] x86: eliminate hard-coded NR_IRQS
I only realized this after submitting the original patch.
Signed-off-by Jan Beulich <[email protected]>
xen/common/domain.c +2 -0
@@ -401,6 +401,8 @@ int domain_kill(struct domain *d)domain_pause (d); d->is_dying = DOMDYING_dying;spin_barrier (&d->domain_lock); +xfree (d->pirq_mask); +xfree (d->pirq_to_evtchn);evtchn_destroy (d);gnttab_release_mappings (d);/* fallthrough */