Re: [iproute PATCH 15/51] ipvrf: Fix error path of vrf_switch()

2017-08-13 Thread David Ahern
On 8/12/17 6:04 AM, Phil Sutter wrote: > Apart from trying to close(-1), this also leaked memory. > > Signed-off-by: Phil Sutter > --- > ip/ipvrf.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/ip/ipvrf.c b/ip/ipvrf.c > index

[iproute PATCH 15/51] ipvrf: Fix error path of vrf_switch()

2017-08-12 Thread Phil Sutter
Apart from trying to close(-1), this also leaked memory. Signed-off-by: Phil Sutter --- ip/ipvrf.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ip/ipvrf.c b/ip/ipvrf.c index 92e2db98ca7d7..75cc026d072b8 100644 --- a/ip/ipvrf.c +++ b/ip/ipvrf.c @@