Re: [PATCH] Free slicename in virSystemdCreateMachine

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

 



On 09/16/2013 07:32 AM, Ján Tomko wrote:
> 1,003 bytes in 1 blocks are definitely lost in loss record 599 of 635
> ==404== by 0x50728A7: virBufferAddChar (virbuffer.c:185)
> ==404== by 0x50BC466: virSystemdEscapeName (virsystemd.c:67)
> ==404== by 0x50BC6B2: virSystemdMakeSliceName (virsystemd.c:108)
> ==404== by 0x50BC870: virSystemdCreateMachine (virsystemd.c:169)
> ==404== by 0x5078267: virCgroupNewMachine (vircgroup.c:1498)
> ---
>  src/util/virsystemd.c | 1 +
>  1 file changed, 1 insertion(+)

ACK.

> 
> diff --git a/src/util/virsystemd.c b/src/util/virsystemd.c
> index 7674cc6..e72b7f0 100644
> --- a/src/util/virsystemd.c
> +++ b/src/util/virsystemd.c
> @@ -239,5 +239,6 @@ cleanup:
>      VIR_FREE(username);
>      VIR_FREE(creatorname);
>      VIR_FREE(machinename);
> +    VIR_FREE(slicename);
>      return ret;
>  }
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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]