android: Encode connection settings as single Java string argument
[strongswan.git] / src / frontends / android / jni / libandroidbridge / backend / android_dns_proxy.c
index 045f2c1..908e372 100644 (file)
@@ -125,6 +125,8 @@ static int open_socket(int family)
                                                                                                skt, family))
        {
                DBG1(DBG_NET, "installing bypass policy for proxy socket failed");
+               close(skt);
+               return -1;
        }
        return skt;
 }