summaryrefslogtreecommitdiff
path: root/src/network/freeaddrinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/freeaddrinfo.c')
-rw-r--r--src/network/freeaddrinfo.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/network/freeaddrinfo.c b/src/network/freeaddrinfo.c
new file mode 100644
index 00000000..df3798ae
--- /dev/null
+++ b/src/network/freeaddrinfo.c
@@ -0,0 +1,7 @@
+#include <stdlib.h>
+#include <netdb.h>
+
+void freeaddrinfo(struct addrinfo *p)
+{
+ free(p);
+}