34e0eb7 conf: move UDP chardev source parsing to separate function

Authored and Committed by phrdina 6 years ago
    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>
    
        
file modified
+25 -31