From 3da07ae96f5b40f76b75e1ccd4b20267f6a5988e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kul=C3=ADk?= Date: Wed, 28 Aug 2024 09:43:04 +0200 Subject: [PATCH] remove incorrect freeaddrinfo call --- src/net.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/net.c b/src/net.c index 632ae0319..c82caff1b 100644 --- a/src/net.c +++ b/src/net.c @@ -145,7 +145,6 @@ create_socket(int domain, int proto, const char *local, const char *bind_dev, in if ((gerror = getaddrinfo(server, portstr, &hints, &server_res)) != 0) { if (local) freeaddrinfo(local_res); - freeaddrinfo(server_res); return -1; }