]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: plug memory leak on error
authorEric Blake <eblake@redhat.com>
Thu, 13 Oct 2011 22:10:47 +0000 (16:10 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 13 Oct 2011 22:14:31 +0000 (16:14 -0600)
commit5fa3d775a9f8cdb3423373eb084219aaf778df11
tree1b0b525150fdc2f46ac489578d6f2f3d3c8939f6
parent6ac6238de33fc74e7545b245ae273d1bfd658808
conf: plug memory leak on error

Detected by Coverity.  Leak present since commit 874e65a; and
while commit d50bb45 tried to fix the issue, it missed a path.

* src/conf/domain_conf.c (virDomainDefParseBootXML): Always clean
up useserial.
src/conf/domain_conf.c