From 2f07c9d48558bfd1ae0728d74cb3eaa1a5a5d2c9 Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Thu, 14 Dec 2017 15:36:53 +0300 Subject: [PATCH] Routing memory leak. --- routing/world_graph.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routing/world_graph.hpp b/routing/world_graph.hpp index 6f301befd8..280a812974 100644 --- a/routing/world_graph.hpp +++ b/routing/world_graph.hpp @@ -37,6 +37,8 @@ public: // segment belongs to. }; + virtual ~WorldGraph() = default; + // |isEnding| == true iff |segment| is first or last segment of the route. Needed because first and // last segments may need special processing. virtual void GetEdgeList(Segment const & segment, bool isOutgoing, bool isLeap, bool isEnding,