lsa-segment-storage: fix segfault in scheduled erase of lsa segment
refs: #4520
Change-Id: I597604b4be9e063a08ff5031faa8d305408b676d
diff --git a/src/lsdb.cpp b/src/lsdb.cpp
index 5ebef48..a38dd55 100644
--- a/src/lsdb.cpp
+++ b/src/lsdb.cpp
@@ -72,8 +72,7 @@
const uint64_t& sequenceNumber) {
return isLsaNew(routerName, lsaType, sequenceNumber);
}, m_nlsr.getConfParameter())
- , m_lsaStorage(scheduler,
- ndn::time::seconds(m_nlsr.getConfParameter().getLsaRefreshTime()))
+ , m_lsaStorage(scheduler)
, m_lsaRefreshTime(0)
, m_adjLsaBuildInterval(ADJ_LSA_BUILD_INTERVAL_DEFAULT)
, m_sequencingManager()