1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-02-28 06:12:20 +00:00
Ján Tomko c4e23388e6 Set the number of elements 0 in virNetwork*Clear
Decrementing it when it was already 0 causes an invalid free
in virNetworkDefUpdateDNSHost if virNetworkDNSHostDefParseXML
fails and virNetworkDNSHostDefClear gets called twice.

virNetworkForwardDefClear left the number untouched even if it
freed all the elements.
2013-07-26 12:50:34 +02:00
..
2013-07-16 10:49:50 +02:00
2013-07-26 11:27:02 +02:00