]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Fix resource leak
authorWang King <king.wang@huawei.com>
Wed, 12 Apr 2017 08:44:04 +0000 (16:44 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 13 Apr 2017 12:14:54 +0000 (08:14 -0400)
commit123770cd4e2d8a0a6166ec93175ddd96c9029947
tree7ec192753a29a616aa94d4a52b154b5279d2d665
parent9db0a63b7e0fd67ba21a6f5b410aa663acb4627a
util: Fix resource leak

The virRotatingFileWriterAppend method leaks the file->entry
on the virRotatingFileWriterEntryNew failing path.
src/util/virrotatingfile.c