From b8e6c26b7b9608dffc84645f17fe4cf534af18dd Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 30 Oct 2012 13:54:38 -0700 Subject: Imported Upstream version 1.7.5 --- ares_free_string.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ares_free_string.c (limited to 'ares_free_string.c') diff --git a/ares_free_string.c b/ares_free_string.c new file mode 100644 index 0000000..e0545c1 --- /dev/null +++ b/ares_free_string.c @@ -0,0 +1,25 @@ + +/* Copyright 2000 by the Massachusetts Institute of Technology. + * + * Permission to use, copy, modify, and distribute this + * software and its documentation for any purpose and without + * fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright + * notice and this permission notice appear in supporting + * documentation, and that the name of M.I.T. not be used in + * advertising or publicity pertaining to distribution of the + * software without specific, written prior permission. + * M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" + * without express or implied warranty. + */ + +#include "ares_setup.h" +#include +#include "ares.h" +#include "ares_private.h" + +void ares_free_string(void *str) +{ + free(str); +} -- cgit v1.2.3 From b6627e2c19506bd30328969ea8aab73fa0945f36 Mon Sep 17 00:00:00 2001 From: Yu Jiung Date: Wed, 9 Nov 2016 11:15:33 +0900 Subject: Imported Upstream version 1.10.0 Change-Id: Ic7f3b0ad7dca62abe4cfa642a5eb5e190eb7a8c9 --- ares_free_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ares_free_string.c') diff --git a/ares_free_string.c b/ares_free_string.c index e0545c1..9441089 100644 --- a/ares_free_string.c +++ b/ares_free_string.c @@ -15,7 +15,7 @@ */ #include "ares_setup.h" -#include + #include "ares.h" #include "ares_private.h" -- cgit v1.2.3 From eb886f120599b2a184db20b527db6dfdfcb7852e Mon Sep 17 00:00:00 2001 From: Yu Jiung Date: Wed, 9 Nov 2016 11:18:45 +0900 Subject: Imported Upstream version 1.11.0 Change-Id: I238c24b75a10aa902d9bc4076ed68b76b5e2a750 --- ares_free_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ares_free_string.c') diff --git a/ares_free_string.c b/ares_free_string.c index 9441089..024992e 100644 --- a/ares_free_string.c +++ b/ares_free_string.c @@ -21,5 +21,5 @@ void ares_free_string(void *str) { - free(str); + ares_free(str); } -- cgit v1.2.3