diff options
author | 2010-08-03 10:31:59 -0400 | |
---|---|---|
committer | 2010-08-03 11:37:05 -0400 | |
commit | 6328dfcb670953c17e6061fae02417f8756726bb (patch) | |
tree | 3985f09711724484fc21d0ac65e68874b93e33e6 | |
parent | Fix build error in virsh.c (diff) | |
download | libvirt-6328dfcb670953c17e6061fae02417f8756726bb.tar.gz libvirt-6328dfcb670953c17e6061fae02417f8756726bb.tar.bz2 libvirt-6328dfcb670953c17e6061fae02417f8756726bb.zip |
Don't leak delay string when freeing virInterfaceBridgeDefs
-rw-r--r-- | 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 6430f7a21..b24526fc2 100644 --- a/src/conf/interface_conf.c +++ b/src/conf/interface_conf.c @@ -84,6 +84,7 @@ void virInterfaceDefFree(virInterfaceDefPtr def) switch (def->type) { case VIR_INTERFACE_TYPE_BRIDGE: + VIR_FREE(def->data.bridge.delay); for (i = 0;i < def->data.bridge.nbItf;i++) { if (def->data.bridge.itf[i] == NULL) break; /* to cope with half parsed data on errors */ |