Re: [libvirt] [PATCH 2/2] qemu: Add and use qemuProcessEventFree for freeing qemuProcessEvents

2018-02-06 Thread Marc Hartmayer
On Mon, Feb 05, 2018 at 01:12 PM +0100, Michal Privoznik wrote: > On 02/05/2018 12:32 PM, Marc Hartmayer wrote: >> On Mon, Feb 05, 2018 at 11:31 AM +0100, Michal Privoznik >> wrote: >>> On 02/05/2018 11:17 AM, Marc Hartmayer wrote: On Mon, Feb 05, 2018 at 10:35 AM +0100, Michal Privoznik

Re: [libvirt] [PATCH 2/2] qemu: Add and use qemuProcessEventFree for freeing qemuProcessEvents

2018-02-05 Thread Michal Privoznik
On 02/05/2018 12:32 PM, Marc Hartmayer wrote: > On Mon, Feb 05, 2018 at 11:31 AM +0100, Michal Privoznik > wrote: >> On 02/05/2018 11:17 AM, Marc Hartmayer wrote: >>> On Mon, Feb 05, 2018 at 10:35 AM +0100, Michal Privoznik >>> wrote: On 02/02/2018 01:13 PM, Marc Hartmayer wrote: > Add

Re: [libvirt] [PATCH 2/2] qemu: Add and use qemuProcessEventFree for freeing qemuProcessEvents

2018-02-05 Thread Marc Hartmayer
On Mon, Feb 05, 2018 at 11:31 AM +0100, Michal Privoznik wrote: > On 02/05/2018 11:17 AM, Marc Hartmayer wrote: >> On Mon, Feb 05, 2018 at 10:35 AM +0100, Michal Privoznik >> wrote: >>> On 02/02/2018 01:13 PM, Marc Hartmayer wrote: Add and use qemuProcessEventFree for freeing qemuProcessEv

Re: [libvirt] [PATCH 2/2] qemu: Add and use qemuProcessEventFree for freeing qemuProcessEvents

2018-02-05 Thread Michal Privoznik
On 02/05/2018 11:17 AM, Marc Hartmayer wrote: > On Mon, Feb 05, 2018 at 10:35 AM +0100, Michal Privoznik > wrote: >> On 02/02/2018 01:13 PM, Marc Hartmayer wrote: >>> Add and use qemuProcessEventFree for freeing qemuProcessEvents. This >>> is less error-prone as the compiler can help us make sure

Re: [libvirt] [PATCH 2/2] qemu: Add and use qemuProcessEventFree for freeing qemuProcessEvents

2018-02-05 Thread Marc Hartmayer
On Mon, Feb 05, 2018 at 10:35 AM +0100, Michal Privoznik wrote: > On 02/02/2018 01:13 PM, Marc Hartmayer wrote: >> Add and use qemuProcessEventFree for freeing qemuProcessEvents. This >> is less error-prone as the compiler can help us make sure that for >> every new enumeration value of qemuProce

Re: [libvirt] [PATCH 2/2] qemu: Add and use qemuProcessEventFree for freeing qemuProcessEvents

2018-02-05 Thread Michal Privoznik
On 02/02/2018 01:13 PM, Marc Hartmayer wrote: > Add and use qemuProcessEventFree for freeing qemuProcessEvents. This > is less error-prone as the compiler can help us make sure that for > every new enumeration value of qemuProcessEventType the > qemuProcessEventFree function has to be adapted. > >

[libvirt] [PATCH 2/2] qemu: Add and use qemuProcessEventFree for freeing qemuProcessEvents

2018-02-02 Thread Marc Hartmayer
Add and use qemuProcessEventFree for freeing qemuProcessEvents. This is less error-prone as the compiler can help us make sure that for every new enumeration value of qemuProcessEventType the qemuProcessEventFree function has to be adapted. All process*Event functions are *only* called by qemuProc