fix(rtable): Potential memory leak in rte replace 51/151/1
authorE. Scott Daniels <daniels@research.att.com>
Tue, 14 May 2019 14:14:20 +0000 (14:14 +0000)
committerE. Scott Daniels <daniels@research.att.com>
Tue, 14 May 2019 14:17:23 +0000 (14:17 +0000)
commit3376a21cb270f2da1f51a929058451d22a66e93f
tree7a1ba9f542855e33e0cfc99fd30904ae32b10c0a
parent907fbf43104b1670b7374bf1a4b22096977774bf
fix(rtable): Potential memory leak in rte replace

If a route table entry was overlaid during the loading of
a new table there was a potential for leaking. Added unit
tests to better verify results of symtab cloning.

Change-Id: I6afecf52e9a48b36da3a06fa01867956a1a52261
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
CMakeLists.txt
src/common/include/rmr_agnostic.h
src/common/src/rt_generic_static.c
test/rt_static_test.c