1
0
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:
Jim Meyering 2010-02-15 18:33:38 +01:00
parent d15a67fa56
commit 55e642e586

View File

@ -427,6 +427,7 @@ openvzFreeDriver(struct openvz_driver *driver)
virDomainObjListDeinit(&driver->domains);
virCapabilitiesFree(driver->caps);
VIR_FREE(driver);
}