libvirt/src/libxl
Laine Stump 3207de308d libxl: eliminate memory leak in libxmlDomainModifyDeviceFlags
This call to virDomainDeviceDefParse is both unnecessary (since
it will again be called at the top of the immediately following if(),
and if not there, then at the top of the if following that), but it
also creates a leak of one virDomainDeviceDef and one [whatever type
of device the DeviceDef is pointing to; probably a virDomainDiskDef]
in the case that the function has been called with
VIR_DOMAIN_DEVICE_MODIFY_CONFIG (the second parse will overwrite the
devicedef that was just created).
2012-02-28 07:43:38 -05:00
..
libxl_conf.c build: prohibit raw malloc and free 2012-02-03 10:41:45 -07:00
libxl_conf.h Add domainSave/Restore to libxl driver 2011-05-30 23:29:05 -06:00
libxl_driver.c libxl: eliminate memory leak in libxmlDomainModifyDeviceFlags 2012-02-28 07:43:38 -05:00
libxl_driver.h List authors in copyright headers 2011-03-29 20:57:02 +08:00