]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Don't leak str in virDomainNetDefCoalesceParseXML
authorMartin Kletzander <mkletzan@redhat.com>
Sat, 22 Apr 2017 12:39:13 +0000 (14:39 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Sat, 22 Apr 2017 16:33:21 +0000 (18:33 +0200)
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/conf/domain_conf.c

index cbeebdc568803ecf084c414efd1e82715b291ce1..4a777d67bfad53a4c92d441eaa98554407f28213 100644 (file)
@@ -6811,6 +6811,7 @@ virDomainNetDefCoalesceParseXML(xmlNodePtr node,
     ret->rx_max_coalesced_frames = tmp;
 
  cleanup:
+    VIR_FREE(str);
     ctxt->node = save;
     return ret;