• J
    libxl: Free migration cookie · 1222a303
    John Ferlan 提交于
    Commit id 'f9edcfa4' added cookie manipulation for libxl; however, some
    cookie crumb cleanup was missed. Found by Coverity.
    
    In libxlDomainMigrationBegin, the cookie is allocated and baked; however,
    the mig ingredients weren't cleaned up.
    
    In libxlDomainMigrationPrepare, when the 'mig' cookie is added to the
    args, set the 'mig = NULL'; otherwise, other failure paths between when
    the code ate the cookie data and when it was added to args would fail
    to clean up the crumbs.
    Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
    1222a303
libxl_migration.c 30.1 KB