Re: [Qemu-devel] [PATCH] Fix tiny leak in qemu_opts_parse

2010-05-03 Thread Anthony Liguori
On 04/29/2010 11:24 AM, Jan Kiszka wrote: qemu_opts_create duplicates the id we pass in case it shall be stored in the opts. So we do not need to dup it in qemu_opts_parse, leaking a few bytes this way. Signed-off-by: Jan Kiszka Applied. Thanks. Regards, Anthony Liguori --- qemu-opti

[Qemu-devel] [PATCH] Fix tiny leak in qemu_opts_parse

2010-04-29 Thread Jan Kiszka
qemu_opts_create duplicates the id we pass in case it shall be stored in the opts. So we do not need to dup it in qemu_opts_parse, leaking a few bytes this way. Signed-off-by: Jan Kiszka --- qemu-option.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu-option.c b