Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0eacfa3
)
nat lb: del lb static mapping existed vec mem leak(VPP-983)
07/8407/2
author
flyingeagle23
<wang.hui56@zte.com.cn>
Wed, 13 Sep 2017 11:03:56 +0000
(19:03 +0800)
committer
Florin Coras
<florin.coras@gmail.com>
Wed, 13 Sep 2017 17:19:55 +0000
(17:19 +0000)
Change-Id: Id7306b432a33bb0fa594b6949e65ca528d8c0916
Signed-off-by: flyingeagle23 <wang.hui56@zte.com.cn>
src/plugins/nat/nat.c
patch
|
blob
|
history
diff --git
a/src/plugins/nat/nat.c
b/src/plugins/nat/nat.c
index
b98b834
..
5189416
100644
(file)
--- a/
src/plugins/nat/nat.c
+++ b/
src/plugins/nat/nat.c
@@
-838,6
+838,7
@@
int nat44_add_del_lb_static_mapping (ip4_address_t e_addr, u16 e_port,
return VNET_API_ERROR_UNSPECIFIED;
}
}
+ vec_free(m->locals);
pool_put (sm->static_mappings, m);
}