mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-08 22:15:21 +00:00
Free slicename in virSystemdCreateMachine
https://bugzilla.redhat.com/show_bug.cgi?id=1008619
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)
(cherry picked from commit 09b48562aa
)
This commit is contained in:
parent
531a11a9c3
commit
17653e920d
@ -155,5 +155,6 @@ cleanup:
|
||||
VIR_FREE(username);
|
||||
VIR_FREE(creatorname);
|
||||
VIR_FREE(machinename);
|
||||
VIR_FREE(slicename);
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user