mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
openvz (openvzFreeDriver): avoid leaks
* src/openvz/openvz_conf.c (openvzFreeDriver): Also free driver buffer. Based on a suggestion from Matthias Bolte.
This commit is contained in:
@@ -427,6 +427,7 @@ openvzFreeDriver(struct openvz_driver *driver)
|
||||
|
||||
virDomainObjListDeinit(&driver->domains);
|
||||
virCapabilitiesFree(driver->caps);
|
||||
VIR_FREE(driver);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user