diff --git a/src/algorithms/PVT/adapters/rtklib_pvt.cc b/src/algorithms/PVT/adapters/rtklib_pvt.cc index 019c7b017..3582b2600 100644 --- a/src/algorithms/PVT/adapters/rtklib_pvt.cc +++ b/src/algorithms/PVT/adapters/rtklib_pvt.cc @@ -450,6 +450,7 @@ bool RtklibPvt::save_assistance_to_XML() RtklibPvt::~RtklibPvt() { + rtkfree(&rtk); save_assistance_to_XML(); }