Re: [libvirt] [PATCH] interface: Fix resource leak in netcfConnectListAllInterfaces error path

2017-04-12 Thread Peter Krempa
On Wed, Apr 12, 2017 at 15:58:23 +0800, Wang King wrote: > On virGetInterface failure, call virInterfaceDefFree for the @def. > --- > src/interface/interface_backend_netcf.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) ACK signature.asc Description: PGP signature -- libvir-list ma

[libvirt] [PATCH] interface: Fix resource leak in netcfConnectListAllInterfaces error path

2017-04-12 Thread Wang King
On virGetInterface failure, call virInterfaceDefFree for the @def. --- src/interface/interface_backend_netcf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/interface/interface_backend_netcf.c b/src/interface/interface_backend_netcf.c index 700a8a0..c7cc071 100644 ---