]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: fix memleak in virDomainNetIpParseXML
authorZhang Bo <oscar.zhangbo@huawei.com>
Mon, 27 Apr 2015 06:41:44 +0000 (14:41 +0800)
committerJán Tomko <jtomko@redhat.com>
Mon, 27 Apr 2015 08:04:38 +0000 (10:04 +0200)
commit7e3faa0959f698762a2d91dab092e4f6b0575e3c
tree3de25a294e505fc0a50559e5d8b833544d434def
parent768ec8c16d951a2bf31f01cefb126b0bf52d099b
conf: fix memleak in virDomainNetIpParseXML

use cleanup instead of error, so that the allocated strings could also get freed
when there's no error.

Signed-off-by: Zhang Bo <oscar.zhangbo@huawei.com>
src/conf/domain_conf.c