aboutsummaryrefslogtreecommitdiff
path: root/qemu-nbd.texi
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-07-19 20:40:59 +0200
committerMichael Roth <mdroth@linux.vnet.ibm.com>2018-07-23 18:54:26 -0500
commitae7da1e5f658ea21d96e565514de20ff2cf24fa1 (patch)
treeca868947a0261a2760017d0f3c2333c95b4b5b58 /qemu-nbd.texi
parentc5840b905e3e471833b277a27910f577d0e30d59 (diff)
qga: process_event() simplification and leak fix
json_parser_parse_err() may return something else than a QDict, in which case we loose the object. Let's keep track of the original object to avoid leaks. When an error occurs, "qdict" contains the response, but we still check the "execute" key there. Untangle a bit this code, by having a clear error path. CC: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Cc: qemu-stable@nongnu.org Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qemu-nbd.texi')
0 files changed, 0 insertions, 0 deletions