summaryrefslogtreecommitdiffstats
path: root/sources
diff options
context:
space:
mode:
Diffstat (limited to 'sources')
-rw-r--r--sources/ogAdmServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/ogAdmServer.cpp b/sources/ogAdmServer.cpp
index 6575edd..d70aa0c 100644
--- a/sources/ogAdmServer.cpp
+++ b/sources/ogAdmServer.cpp
@@ -1287,7 +1287,7 @@ static bool wake_up_broadcast(int sd, struct sockaddr_in *client,
client->sin_addr.s_addr = broadcast_addr->sin_addr.s_addr;
break;
}
- free(ifaddr);
+ freeifaddrs(ifaddr);
ret = sendto(sd, msg, sizeof(*msg), 0,
(sockaddr *)client, sizeof(*client));