summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhyunuktak <hyunuk.tak@samsung.com>2015-12-22 00:31:18 (GMT)
committerhyunuktak <hyunuk.tak@samsung.com>2015-12-22 00:31:36 (GMT)
commite1b8c14f933c90c7bfb1a4920d2d2dbc65e327e8 (patch)
tree988343790e1c6ac27281548aba7cca8d36df8d71
parentf4b6dfbed5104504344038b3b522391ac8d19d81 (diff)
downloadconnman-e1b8c14f933c90c7bfb1a4920d2d2dbc65e327e8.zip
connman-e1b8c14f933c90c7bfb1a4920d2d2dbc65e327e8.tar.gz
connman-e1b8c14f933c90c7bfb1a4920d2d2dbc65e327e8.tar.bz2
Fix a svace 20384refs/changes/90/55090/1
Change-Id: I3bf09588ec0f1ee69bb1024a88ea912558d12ca7 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
-rwxr-xr-xsrc/dnsproxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dnsproxy.c b/src/dnsproxy.c
index 6e1870f..f047c05 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;
}