mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00: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:
parent
d15a67fa56
commit
55e642e586
@ -427,6 +427,7 @@ openvzFreeDriver(struct openvz_driver *driver)
|
||||
|
||||
virDomainObjListDeinit(&driver->domains);
|
||||
virCapabilitiesFree(driver->caps);
|
||||
VIR_FREE(driver);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user