Fix tiny leak in qemu_opts_parse
commitd510c5cf343eabd4d3a301f5730af724747b7055
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 29 Apr 2010 16:24:43 +0000 (29 18:24 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 3 May 2010 17:09:48 +0000 (3 12:09 -0500)
tree0aff273089e54a6ab717ebc85bc4e315a3c42490
parent54eefd72bfc0ad7cd5cbedba8ef4368bd2bc3329
Fix tiny leak in qemu_opts_parse

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 <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-option.c