* src/qemu_driver.c: another OOM handling cleanup (Guido Günther)

daniel
This commit is contained in:
Daniel Veillard 2008-10-07 16:39:32 +00:00
parent 9f4c047935
commit f9dbe46b44
2 changed files with 5 additions and 4 deletions

View File

@ -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

View 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