--- src/libxl/libxl_driver.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c index b8b8ee8..80a43a0 100644 --- a/src/libxl/libxl_driver.c +++ b/src/libxl/libxl_driver.c @@ -107,7 +107,7 @@ libxlDomainObjUnref(void *data) { virDomainObjPtr vm = data; - virDomainObjUnref(vm); + ignore_value(virDomainObjUnref(vm)); } /* @@ -279,7 +279,7 @@ libxlCreateDomEvents(virDomainObjPtr vm) VIR_EVENT_HANDLE_READABLE | VIR_EVENT_HANDLE_ERROR, libxlEventHandler, vm, libxlDomainObjUnref)) < 0) { - virDomainObjUnref(vm); + ignore_value(virDomainObjUnref(vm)); goto error; } -- 1.7.4.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list