Re: [lxc-devel] [PATCH 4/4] coverity: fix leak when ipv6 gw is auto

2013-05-03 Thread Dwight Engen
On Fri, 3 May 2013 11:27:54 -0500 Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): > > Signed-off-by: Dwight Engen > > Thanks. To prevent future snafus it might be worth declaring gw just > in that block, but Yeah, I just moved the use inside the block. I'm all for a styl

Re: [lxc-devel] [PATCH 4/4] coverity: fix leak when ipv6 gw is auto

2013-05-03 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > Signed-off-by: Dwight Engen Thanks. To prevent future snafus it might be worth declaring gw just in that block, but Acked-by: Serge E. Hallyn > --- > src/lxc/confile.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > >

[lxc-devel] [PATCH 4/4] coverity: fix leak when ipv6 gw is auto

2013-05-03 Thread Dwight Engen
Signed-off-by: Dwight Engen --- src/lxc/confile.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lxc/confile.c b/src/lxc/confile.c index d0a404f..fbae861 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -782,12 +782,6 @@ static int config_network_ipv