mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +00:00
* 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>
|
||||
|
||||
* 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)
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user