summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}