[libvirt] [PATCH 2/2] remove duplicated call to reportOOMError

Christophe Fergeau teuf at gnome.org
Thu Feb 17 21:18:22 UTC 2011


---
 src/qemu/qemu_command.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index c9feb9b..371a7ed 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -4243,7 +4243,6 @@ qemuBuildCommandLine(virConnectPtr conn,
                     if (configfd >= 0) {
                         if (virAsprintf(&configfd_name, "%d", configfd) < 0) {
                             VIR_FORCE_CLOSE(configfd);
-                            virReportOOMError();
                             goto no_memory;
                         }
 
-- 
1.7.4




More information about the libvir-list mailing list