summaryrefslogtreecommitdiff
path: root/staticd/static_vrf.h
diff options
context:
space:
mode:
authorrgirada <rgirada@vmware.com>2020-03-07 17:22:52 -0800
committerrgirada <rgirada@vmware.com>2020-03-07 17:22:52 -0800
commita4155a1b355b5ff93aadab8743f6ff8cf061be90 (patch)
tree0eabf52db24c11fc5dfabfe3a79343cdd500adb1 /staticd/static_vrf.h
parent43086da665afede14908a231f7e242632db19e9a (diff)
staticd: Fixing memory leak issue
Memory allotted for staticd specific vrf structers is not being deallocated when the corresponding vrf is destroyed. Signed-off-by: Rajesh Girada <rgirada@vmware.com>
Diffstat (limited to 'staticd/static_vrf.h')
-rw-r--r--staticd/static_vrf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/staticd/static_vrf.h b/staticd/static_vrf.h
index 28fcdd0d36..6951e56712 100644
--- a/staticd/static_vrf.h
+++ b/staticd/static_vrf.h
@@ -35,4 +35,5 @@ void static_vrf_init(void);
struct route_table *static_vrf_static_table(afi_t afi, safi_t safi,
struct static_vrf *svrf);
+extern void static_vrf_terminate(void);
#endif