[libvirt] [PATCH] lxc_controller: Don't leak @name
Eric Blake
eblake at redhat.com
Tue Jan 7 15:10:45 UTC 2014
On 01/07/2014 07:56 AM, Michal Privoznik wrote:
> The @name variable is VIR_STRDUP()-ed into, but never freed. In fact,
> there's no need to duplicate a command line argument since all places
> where @name is used expect const char.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/lxc/lxc_controller.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140107/a1231fa5/attachment-0001.sig>
More information about the libvir-list
mailing list