]> xenbits.xensource.com Git - libvirt.git/commit
Fix printing of pathnames on error in qemuDomainSnapshotLoad.
authorChris Lalancette <clalance@redhat.com>
Fri, 23 Apr 2010 15:59:02 +0000 (11:59 -0400)
committerChris Lalancette <clalance@redhat.com>
Fri, 23 Apr 2010 18:22:48 +0000 (14:22 -0400)
commit21c6cfc2130cb9a5e691af89e384fc4076fd71fa
treede3c982e0a6a918b5b49318fa6f5031e68f8eb39
parent5993321dc593be115b35dde4bf8e91fb484ae79a
Fix printing of pathnames on error in qemuDomainSnapshotLoad.

While doing some testing of the snapshot code I noticed that
if qemuDomainSnapshotLoad failed, it would print a NULL as
part of the error.  That's not desirable, so leave the
full_path variable around until after we are done printing
errors.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
src/qemu/qemu_driver.c