summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaesub kim <taesub.kim@samsung.com>2015-12-22 17:27:00 -0800
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2015-12-22 17:27:00 -0800
commitf338b3299e84ec6590da247efbd1336d89d27aeb (patch)
tree19df04c45334ce4d9e397a12f480b492772ce516
parentc920cd5d1d2fc6054d8a35a60ee40f323aa32cd6 (diff)
parente1b8c14f933c90c7bfb1a4920d2d2dbc65e327e8 (diff)
downloadconnman-f338b3299e84ec6590da247efbd1336d89d27aeb.tar.gz
connman-f338b3299e84ec6590da247efbd1336d89d27aeb.tar.bz2
connman-f338b3299e84ec6590da247efbd1336d89d27aeb.zip
-rwxr-xr-xsrc/dnsproxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dnsproxy.c b/src/dnsproxy.c
index 6e1870f6..f047c05e 100755
--- a/src/dnsproxy.c
+++ b/src/dnsproxy.c
@@ -2698,6 +2698,7 @@ static struct server_data *create_server_sec(int index,
if (ret) {
connman_error("Failed to parse server %s address: %s\n",
data->server, gai_strerror(ret));
+ freeaddrinfo(rp);
destroy_server_sec(data);
return NULL;
}