30.05.2015 10:54, Shannon Zhao wrote: > From: Shannon Zhao <[email protected]> > > Here we add a member in MachineState to store the irq array returned > from qemu_allocate_irqs. Then these irq arrays will be free before QEMU > exit and it fixes the memory leak spotted by valgrind.
Where the new member (machine->irqs) is being freed? Can we add the generic machinery for it first, and next convert all places to it one by one? Thanks, /mjt
