Re: [Qemu-devel] [PATCH] tests: test-qmp-commands: Fix double free

2014-03-10 Thread Eric Blake
On 03/08/2014 10:27 AM, Luiz Capitulino wrote: > The ret variable is freed twice, but on the second time we actually want > to free ret3 instead. Don't know why this didn't explode. > > Reported-by: Peter Maydell > Tested-by: Peter Maydell > Signed-off-by: Luiz Capitulino > --- > tests/test-qm

[Qemu-devel] [PATCH] tests: test-qmp-commands: Fix double free

2014-03-08 Thread Luiz Capitulino
The ret variable is freed twice, but on the second time we actually want to free ret3 instead. Don't know why this didn't explode. Reported-by: Peter Maydell Tested-by: Peter Maydell Signed-off-by: Luiz Capitulino --- tests/test-qmp-commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion