Re: [libvirt] [PATCH] util: Resolve resource leak

2017-10-12 Thread Erik Skultety
On Wed, Oct 11, 2017 at 05:03:05PM -0400, John Ferlan wrote: > Need to free @groups in the parent on success similar to other > APIs (virFile*) which use virGetGroupList and virFork. > > Reported by Coverity. > > Signed-off-by: John Ferlan > --- > src/util/vircommand.c | 1 +

[libvirt] [PATCH] util: Resolve resource leak

2017-10-11 Thread John Ferlan
Need to free @groups in the parent on success similar to other APIs (virFile*) which use virGetGroupList and virFork. Reported by Coverity. Signed-off-by: John Ferlan --- src/util/vircommand.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/vircommand.c