mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
remove dandling domain/net/conn pointers from error data
* src/hash.c src/internal.h src/virterror.c: remove dandling domain/net/conn pointers from error data when released. * src/lxc_driver.c: fix a NULL/0 return error mismatch Daniel
This commit is contained in:
@@ -420,7 +420,7 @@ static void lxcFreeDriver(lxc_driver_t *driver)
|
||||
static int lxcShutdown(void)
|
||||
{
|
||||
if (lxc_driver == NULL)
|
||||
return(NULL);
|
||||
return(-1);
|
||||
lxcFreeVMs(lxc_driver->vms);
|
||||
lxc_driver->vms = NULL;
|
||||
lxcFreeDriver(lxc_driver);
|
||||
|
||||
Reference in New Issue
Block a user