* src/qemu_driver.c: another OOM handling cleanup (Guido Günther)
daniel
This commit is contained in:
parent
9f4c047935
commit
f9dbe46b44
@ -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>
|
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
|
* src/qemu_driver.c: don't print and extra OOM error on top of
|
||||||
|
@ -208,11 +208,8 @@ qemudStartup(void) {
|
|||||||
"%s/.libvirt/qemu/log", pw->pw_dir) == -1)
|
"%s/.libvirt/qemu/log", pw->pw_dir) == -1)
|
||||||
goto out_of_memory;
|
goto out_of_memory;
|
||||||
|
|
||||||
if (asprintf (&base, "%s/.libvirt", pw->pw_dir) == -1) {
|
if (asprintf (&base, "%s/.libvirt", pw->pw_dir) == -1)
|
||||||
qemudLog (QEMUD_ERR,
|
|
||||||
"%s", _("out of memory in asprintf\n"));
|
|
||||||
goto out_of_memory;
|
goto out_of_memory;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Configuration paths are either ~/.libvirt/qemu/... (session) or
|
/* Configuration paths are either ~/.libvirt/qemu/... (session) or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user