summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2017-05-12 16:07:24 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2017-05-12 16:07:35 +0900
commitc2e9d71d066bf713c4ac04cf06ad50b28a2d5c00 (patch)
treea207de042df9d079df0bf09d4659fef58b76b3ae
parent6eaf073f23ab4b4c53e19c92aa38c10744a249a0 (diff)
downloadconnman-c2e9d71d066bf713c4ac04cf06ad50b28a2d5c00.tar.gz
connman-c2e9d71d066bf713c4ac04cf06ad50b28a2d5c00.tar.bz2
connman-c2e9d71d066bf713c4ac04cf06ad50b28a2d5c00.zip
Change-Id: I2b291f130292951dcc962c1970f4d484463de9f5 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
-rw-r--r--vpn/plugins/ipsec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vpn/plugins/ipsec.c b/vpn/plugins/ipsec.c
index 09018897..2465ad40 100644
--- a/vpn/plugins/ipsec.c
+++ b/vpn/plugins/ipsec.c
@@ -1049,6 +1049,8 @@ static int ipsec_connect(struct vpn_provider *provider,
connman_error("charon start failed");
if (cb)
cb(provider, user_data, err);
+
+ g_free(data);
return err;
}