[libvirt] [PATCH] Fix virInterfaceIpDefPtr leak during virInterfaceIpDefFree().

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

 



This is the only update to the patchset already sent. All other problems
were either in netcf code, or will be cleaned up later.

A patch has been sent to netcf-devel which, when applied, allows make
check of libvirt plus the patch series to complete with no errors.

There is still one issue, affecting bond interfaces, which is not
revealed by make check. I'll describe that in a separate email.
---
 src/conf/interface_conf.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/conf/interface_conf.c b/src/conf/interface_conf.c
index fc18eba..31af957 100644
--- a/src/conf/interface_conf.c
+++ b/src/conf/interface_conf.c
@@ -58,6 +58,7 @@ void virInterfaceIpDefFree(virInterfaceIpDefPtr def) {
     if (def == NULL)
         return;
     VIR_FREE(def->address);
+    VIR_FREE(def);
 }
 
 static
-- 
1.6.5.15.gc274d

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]