]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Always free network and graphics cookies
authorJán Tomko <jtomko@redhat.com>
Mon, 16 Sep 2013 11:26:46 +0000 (13:26 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 16 Sep 2013 17:26:21 +0000 (19:26 +0200)
commit102eb00c28e5edd697d012716a6b9c40200c8ffd
treeadee701ba17447ae207802e3600bff3406b99542
parent09b48562aac12387a5ff9ac2f27f9a60490f41ee
Always free network and graphics cookies

qemuMigrationEatCookie has flags to control if these should
be parsed, but it does not fill mig->flags. These cookies might
get leaked if these flags are not set by qemuMigrationBakeCookie.

42 (32 direct, 10 indirect) bytes in 1 blocks are definitely lost in
loss record 361 of 662
==123== by 0x1BA33FCA: qemuMigrationEatCookie (qemu_migration.c:678)
==123== by 0x1BA34A1E: qemuMigrationRun (qemu_migration.c:3108)
==123== by 0x1BA3622B: doNativeMigrate (qemu_migration.c:3343)
==123== by 0x1BA3B408: qemuMigrationPerform (qemu_migration.c:4138)
src/qemu/qemu_migration.c