]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
* src/qemu_driver.c: another OOM handling cleanup (Guido Günther)
authorDaniel Veillard <veillard@redhat.com>
Tue, 7 Oct 2008 16:39:32 +0000 (16:39 +0000)
committerDaniel Veillard <veillard@redhat.com>
Tue, 7 Oct 2008 16:39:32 +0000 (16:39 +0000)
daniel

ChangeLog
src/qemu_driver.c

index 4a769fda868a6f426787e51b5cfd7570d2f41b26..619d2b6cb4fac89b3b0dce6ae88e460d6f092571 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Oct  7 18:33:39 CEST 2008 Daniel Veillard <veillard@redhat.com>
+
+       * src/qemu_driver.c: another OOM handling cleanup (Guido Günther)
+
 Tue Oct  7 17:59:59 CEST 2008 Daniel Veillard <veillard@redhat.com>
 
        * src/qemu_driver.c: don't print and extra OOM error on top of
index 34d494fdcca6f401ded638ab8d111054f2383272..806608d7829ab100a40e919eb2bfc557d5b0877f 100644 (file)
@@ -208,11 +208,8 @@ qemudStartup(void) {
                      "%s/.libvirt/qemu/log", pw->pw_dir) == -1)
             goto out_of_memory;
 
-        if (asprintf (&base, "%s/.libvirt", pw->pw_dir) == -1) {
-            qemudLog (QEMUD_ERR,
-                      "%s", _("out of memory in asprintf\n"));
+        if (asprintf (&base, "%s/.libvirt", pw->pw_dir) == -1)
             goto out_of_memory;
-        }
     }
 
     /* Configuration paths are either ~/.libvirt/qemu/... (session) or