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

Re: [libvirt] [PATCH] Don't free NULL network in cmdNetworkUpdate



On 08/26/2013 09:39 AM, Ján Tomko wrote:
> If the network has not been found, virNetworkFree(NULL)
> was called, resulting in an extra error:
> error: invalid network pointer in virNetworkFree


The patch is okay, but all vir*Free() functions should be NOPs when the
argument is NULL.



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