fix coverity-found resource leaks in config_network_ipv6

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>