]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: move UDP chardev source parsing to separate function
authorPavel Hrdina <phrdina@redhat.com>
Fri, 18 Aug 2017 17:05:20 +0000 (19:05 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 22 Aug 2017 15:44:36 +0000 (17:44 +0200)
commit34e0eb7dc4c260b06176d26a8a9c395d67f50279
tree68cf8c18a0c74439e22a4332cd5b3090d35bfbed
parent40b0f40b54a47e582edc665e49eb6a7668c4f5b2
conf: move UDP chardev source parsing to separate function

The extra check whether (connect|bind)(Host|Service) was set is
required because for UDP chardev there can be two source elements.
Without the check there could be a memory leak.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/conf/domain_conf.c