Re: [PATCH] Free job statistics from the migration cookie

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/06/14 12:28, Ján Tomko wrote:
> ==404== 232 bytes in 1 blocks are definitely lost in loss record 669 of 758
> ==404==    at 0x4C2B934: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==404==    by 0x52A2BF3: virAlloc (viralloc.c:144)
> ==404==    by 0x1D49AD70: qemuMigrationCookieAddStatistics (qemu_migration.c:554)
> ==404==    by 0x1D49AD70: qemuMigrationBakeCookie (qemu_migration.c:1228)
> ==404==    by 0x1D4A43B8: qemuMigrationFinish (qemu_migration.c:5002)
> ==404==    by 0x1D4C9339: qemuDomainMigrateFinish3Params (qemu_driver.c:11526)
> 
> Introduced by commit 5d6fb96
> ---
>  src/qemu/qemu_migration.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
> index 94a4cf6..c797206 100644
> --- a/src/qemu/qemu_migration.c
> +++ b/src/qemu/qemu_migration.c
> @@ -219,6 +219,7 @@ static void qemuMigrationCookieFree(qemuMigrationCookiePtr mig)
>      VIR_FREE(mig->lockState);
>      VIR_FREE(mig->lockDriver);
>      VIR_FREE(mig->nbd);
> +    VIR_FREE(mig->jobInfo);
>      VIR_FREE(mig);
>  }
>  
> 

ACK

Peter

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]