On 07/26/2013 01:00 PM, Michal Privoznik wrote:
On 26.07.2013 12:54, Ján Tomko wrote:
> 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.
> ---
> src/conf/network_conf.c | 21 +++++++++++----------
> 1 file changed, 11 insertions(+), 10 deletions(-)
ACK
Michal
Thanks, I've pushed the series.
Jan