Re: [libvirt] [PATCH 1/2] virSysinfoParseX86Chassis: Store asset tag into correct pointer

2018-03-13 Thread Peter Krempa
On Tue, Mar 13, 2018 at 14:37:04 +0100, Michal Privoznik wrote: > Probably due to copy-paste error we're storing asset tag into > def->sku which we even use in the next step to store SKU number > and thus the asset tag leaks. > > ==19200== 41 bytes in 1 blocks are definitely lost in loss record 84

[libvirt] [PATCH 1/2] virSysinfoParseX86Chassis: Store asset tag into correct pointer

2018-03-13 Thread Michal Privoznik
Probably due to copy-paste error we're storing asset tag into def->sku which we even use in the next step to store SKU number and thus the asset tag leaks. ==19200== 41 bytes in 1 blocks are definitely lost in loss record 849 of 1,059 ==19200==at 0x4C2AF0F: malloc (vg_replace_malloc.c:299) ==1