From f9dbe46b440cf226b98a255a237c227d8f37a658 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 7 Oct 2008 16:39:32 +0000 Subject: [PATCH] =?UTF-8?q?*=20src/qemu=5Fdriver.c:=20another=20OOM=20hand?= =?UTF-8?q?ling=20cleanup=20(Guido=20G=C3=BCnther)=20daniel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChangeLog | 4 ++++ src/qemu_driver.c | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4a769fda86..619d2b6cb4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Oct 7 18:33:39 CEST 2008 Daniel Veillard + + * src/qemu_driver.c: another OOM handling cleanup (Guido Günther) + Tue Oct 7 17:59:59 CEST 2008 Daniel Veillard * src/qemu_driver.c: don't print and extra OOM error on top of diff --git a/src/qemu_driver.c b/src/qemu_driver.c index 34d494fdcc..806608d782 100644 --- a/src/qemu_driver.c +++ b/src/qemu_driver.c @@ -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