]> git.ipfire.org Git - thirdparty/libvirt.git/commit
src: fix multiple resource leaks in loops
authorPavel Hrdina <phrdina@redhat.com>
Sun, 9 Apr 2017 10:49:24 +0000 (12:49 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 11 Apr 2017 11:23:00 +0000 (13:23 +0200)
commitffc810b7c7cad514fe362c5b42877bca7eee88b3
treebfb3ba7449a3163d2d876bcc3418e7fe16db0cec
parent87d97a9d0a75f7d948312b233c12da3a69d9513b
src: fix multiple resource leaks in loops

All of the variables are filled inside a loop and therefore
needs to be also freed in every cycle.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/conf/node_device_conf.c
src/conf/storage_conf.c
src/util/virsysinfo.c