]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Fix memory leak in virNetDevOpenvswitchInterfaceGetMaster
authorJohn Ferlan <jferlan@redhat.com>
Wed, 2 Dec 2020 12:43:15 +0000 (07:43 -0500)
committerJán Tomko <jtomko@redhat.com>
Wed, 2 Dec 2020 15:15:43 +0000 (16:15 +0100)
commit3d48ce9437e8cd35e469676ae3a68701f3dc49a6
tree7941b545abeb1d39d636f358f5364e922f0de16a
parentbfcf1a3ca9a0949e7ee1c912f1dbb8fbb4d5fee0
util: Fix memory leak in virNetDevOpenvswitchInterfaceGetMaster

Since 032548c4 @cmd was never autofree'd. Perhaps as a result of
VIR_AUTOPTR type changes occurring at roughly the same time so the
copy pasta missed this.

Found by Coverity.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/util/virnetdevopenvswitch.c