* src/qemu/qemu_driver.c (qemuDomainManagedSavePath)
---
src/qemu/qemu_driver.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 89b4d11..976fb72 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -5843,6 +5843,7 @@ qemuDomainManagedSavePath(struct qemud_driver *driver,
virDomainObjPtr vm) {
char *ret;
if (virAsprintf(&ret, "%s/%s.save", driver->saveDir,
vm->def->name) < 0) {
+ VIR_FREE(ret);
virReportOOMError();
return(NULL);
}
--
1.7.2.3