libvirt/src/libxl
John Ferlan ad4966d91a libxl_migration: Resolve Coverity RESOURCE_LEAK
In libxlDomainMigrationPrepare() if the uri_in is false, then
'hostname' is allocated and used "generically" in the routine,
but not freed.  Conversely, if uri_in is true, then a uri is
allocated and hostname is set to the uri->hostname value and
likewise generically used.

At function exit, hostname wasn't free'd in the !uri_in path,
so that was added.  To just make it clearer on usage the else
path became the call to virURIFree() although I suppose technically
it didn't have to since it would be a call using (NULL)
2014-08-28 08:12:16 -04:00
..
libxl_conf.c libxl: fix memory corruption introduced by commit b55cc5f4e 2014-08-25 17:35:12 -06:00
libxl_conf.h libxl: don't break the build on Xen>=4.5 because of libxl_vcpu_setaffinity() 2014-06-30 14:49:22 -06:00
libxl_domain.c libxl_domain: Resolve Coverity RESOURCE_LEAK 2014-08-28 08:12:16 -04:00
libxl_domain.h libxl: add migration support 2014-06-04 21:01:07 -06:00
libxl_driver.c hostdev: Introduce virDomainHostdevSubsysPCI 2014-07-24 06:39:27 -04:00
libxl_driver.h libxl: Use standard format for source file copyright notice 2013-09-03 23:53:48 -06:00
libxl_migration.c libxl_migration: Resolve Coverity RESOURCE_LEAK 2014-08-28 08:12:16 -04:00
libxl_migration.h libxl: remove domain when migration prepare fails 2014-07-08 17:14:50 -06:00