diff options
author | Markus Armbruster <armbru@redhat.com> | 2013-01-16 18:15:08 +0100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2013-01-28 13:46:18 -0600 |
commit | 6f6867493cc00974de594a509cee5a3be61c64aa (patch) | |
tree | 8bebccd22d7c43bc3b1f3b4c94166274808901fc /savevm.c | |
parent | 6034fe7bdb555c43022706e228cde8d52a8b341a (diff) | |
download | hqemu-6f6867493cc00974de594a509cee5a3be61c64aa.zip hqemu-6f6867493cc00974de594a509cee5a3be61c64aa.tar.gz |
qemu-ga: Plug memory leak in guest_fsfreeze_cleanup()
Neglects to free errors allocated by qmp_guest_fsfreeze_thaw().
Spotted by Coverity.
While there, drop the test whether return value is negative (it's
never true), and improve logging.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'savevm.c')
0 files changed, 0 insertions, 0 deletions