Re: [libvirt] [PATCH] Fix the incorrect memory freeing which will result in crash

2017-01-18 Thread John Ferlan
On 01/06/2017 09:28 AM, Wu Zongyong wrote: > The number of elements in new_params is equal to the length of info, > instead of nparams, so it's wrong to free new_params using nparams. > > Signed-off-by: Wu Zongyong > --- > libvirt-override.c | 8 > 1 file

[libvirt] [PATCH] Fix the incorrect memory freeing which will result in crash

2017-01-06 Thread Wu Zongyong
The number of elements in new_params is equal to the length of info, instead of nparams, so it's wrong to free new_params using nparams. Signed-off-by: Wu Zongyong --- libvirt-override.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git