Re: [Qemu-devel] [PATCH] QMP: Don't free async event's 'data'

2010-01-12 Thread Anthony Liguori
On 01/08/2010 12:45 PM, Luiz Capitulino wrote: The monitor_protocol_event() function will free the event's data, this is wrong as 'data' management is up to the caller. Signed-off-by: Luiz Capitulino Applied. Thanks. Regards, Anthony Liguori --- monitor.c |4 +++- 1 files chang

[Qemu-devel] [PATCH] QMP: Don't free async event's 'data'

2010-01-08 Thread Luiz Capitulino
The monitor_protocol_event() function will free the event's data, this is wrong as 'data' management is up to the caller. Signed-off-by: Luiz Capitulino --- monitor.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/monitor.c b/monitor.c index 3af1d5c..2403a97 100644