From: Seonah Moon Date: Fri, 12 May 2017 07:07:24 +0000 (+0900) Subject: [WGID-207858] Fixed memory leak X-Git-Tag: submit/tizen/20170512.071139^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2e9d71d066bf713c4ac04cf06ad50b28a2d5c00;p=platform%2Fupstream%2Fconnman.git [WGID-207858] Fixed memory leak Change-Id: I2b291f130292951dcc962c1970f4d484463de9f5 Signed-off-by: Seonah Moon --- 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; }