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

Re: [libvirt] [PATCH 2/2] virNetDevBandwidthUnplug: Don't leak @cmd



On 07/03/2013 09:47 AM, Michal Privoznik wrote:
> When removing a TAP device, the associated bandwidth settings are
> removed. Currently, the /sbin/tc is used for that. It is spawned
> several times. Moreover, we use the same @cmd variable to
> construct the command and its arguments. That means we need to
> virCommandFree(cmd); prior to each virCommandNew(TC); which
> wasn't done.
> ---
>  src/util/virnetdevbandwidth.c | 1 +
>  1 file changed, 1 insertion(+)
> 

ACK

Jan


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