]> xenbits.xensource.com Git - libvirt.git/commit
conf: Fix memory leak in virCPUDefParseXML
authorJohn Ferlan <jferlan@redhat.com>
Tue, 16 Jun 2020 12:07:09 +0000 (08:07 -0400)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 16 Jun 2020 13:01:06 +0000 (15:01 +0200)
commit87386ddcb6ee4d3b959c11c565f118ab9b8d223b
treea960afe6a46b7216df36ef96819147a984b9a0b3
parent40ef01697f95c41d84b61eacb25924e8bd6ad406
conf: Fix memory leak in virCPUDefParseXML

Since a08669c31, @tsc is not automatically free'd by any g_auto* method.

Found by Coverity.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/conf/cpu_conf.c