ci: enable leak sanitizer
src: fix memory leaks caused by segment fetcher
refs: #4682
Change-Id: I4fdf24f369e2d27845f1f6e6ca9978905110a024
diff --git a/src/route/fib.hpp b/src/route/fib.hpp
index 27e5967..32c656d 100644
--- a/src/route/fib.hpp
+++ b/src/route/fib.hpp
@@ -63,9 +63,6 @@
{
}
- VIRTUAL_WITH_TESTS
- ~Fib() = default;
-
/*! \brief Completely remove a name prefix from the FIB.
*
* If a name prefix is found to no longer be reachable from this
@@ -74,7 +71,7 @@
*
* \sa nlsr::NamePrefixTable::removeEntry
*/
- VIRTUAL_WITH_TESTS void
+ void
remove(const ndn::Name& name);
/*! \brief Set the nexthop list of a name.
@@ -88,7 +85,7 @@
* \param name The name prefix that the next-hops apply to
* \param allHops A complete list of next-hops to associate with name.
*/
- VIRTUAL_WITH_TESTS void
+ void
update(const ndn::Name& name, const NexthopList& allHops);
/*! \brief Remove all entries from the FIB.