projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69a8bbb
)
Fix: Memory leak issue when tokenizing string
56/264456/1
accepted/tizen/unified/20210924.055913
submit/tizen/20210924.013637
author
Nishant Chaprana
<n.chaprana@samsung.com>
Mon, 20 Sep 2021 07:26:32 +0000
(12:56 +0530)
committer
Nishant Chaprana
<n.chaprana@samsung.com>
Tue, 21 Sep 2021 05:55:55 +0000
(11:25 +0530)
Change-Id: I71e88bb35384cf919263fa5dda8c4f0f06be6ef2
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
vpn/plugins/wireguard.c
patch
|
blob
|
history
diff --git
a/vpn/plugins/wireguard.c
b/vpn/plugins/wireguard.c
index
25ec32d
..
e7ffbd1
100644
(file)
--- a/
vpn/plugins/wireguard.c
+++ b/
vpn/plugins/wireguard.c
@@
-171,6
+171,9
@@
static int parse_allowed_ips(const char *allowed_ips, wg_peer *peer)
curaip->next_allowedip = allowedip;
curaip = allowedip;
+#if defined TIZEN_EXT
+ g_strfreev(toks);
+#endif
}
peer->last_allowedip = curaip;