]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Resolve resource leak
authorJohn Ferlan <jferlan@redhat.com>
Wed, 11 Oct 2017 20:56:58 +0000 (16:56 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 12 Oct 2017 22:27:00 +0000 (18:27 -0400)
commit0c691e9806128abfbf8cdebbb91dfcb332870367
treeac1cad6ac76a309020e11c1486c6a90c4a5efce4
parentb71d10cc8ef5336d984ef1010713515e80b59935
util: Resolve resource leak

Need to free @groups in the parent on success similar to other
APIs (virFile*) which use virGetGroupList and virFork.

Reported by Coverity.
src/util/vircommand.c