From b780abf56327aa10463a231e994b5cadf8fa2baa Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Mon, 15 May 2017 14:38:01 +0200 Subject: [PATCH] Free rtk struct in the destructor --- src/algorithms/PVT/adapters/rtklib_pvt.cc | 1 + 1 file changed, 1 insertion(+) 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(); }