summaryrefslogtreecommitdiff
path: root/vpn/plugins/ipsec.c
diff options
context:
space:
mode:
authorSaurav Babu <saurav.babu@samsung.com>2017-06-06 12:16:34 +0530
committerSaurav Babu <saurav.babu@samsung.com>2017-06-07 09:18:48 +0530
commit4dc972d927cd9f5854eb4f2d50cfafe931705e21 (patch)
tree84bc1d32e17f7b02d19fe6ced1e479ead8885af0 /vpn/plugins/ipsec.c
parent6d0c59f3bfb3b4ef7881f925097dae1f75ea9990 (diff)
downloadconnman-4dc972d927cd9f5854eb4f2d50cfafe931705e21.tar.gz
connman-4dc972d927cd9f5854eb4f2d50cfafe931705e21.tar.bz2
connman-4dc972d927cd9f5854eb4f2d50cfafe931705e21.zip
service: Fix memory leak issues
This patch fixes memory leak on loading service passphrase. g_strdup() function returns NULL only when nameserver will be NULL and it has already been checked before so there is no need to check for return of g_strdup(). Change-Id: I3ddd3af135a35ba03bd01ccd5a68f822ed1dac26 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Diffstat (limited to 'vpn/plugins/ipsec.c')
0 files changed, 0 insertions, 0 deletions