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

Re: [libvirt] [PATCH] lxc_controller: Don't leak @name



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 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

Attachment: signature.asc
Description: OpenPGP digital signature


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