From 9f5ff0efedca81e6163850e18aa6ec44d4a0f9b6 Mon Sep 17 00:00:00 2001 From: Nav Date: Mon, 11 Jul 2022 20:26:42 +0100 Subject: [PATCH] Added virtual destructor to ServerInteface class to fix memory leak --- src/DebugServer/ServerInterface.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DebugServer/ServerInterface.hpp b/src/DebugServer/ServerInterface.hpp index 0921349c..ad0b7a82 100644 --- a/src/DebugServer/ServerInterface.hpp +++ b/src/DebugServer/ServerInterface.hpp @@ -12,6 +12,8 @@ namespace Bloom::DebugServer class ServerInterface { public: + virtual ~ServerInterface() = default; + /** * Should return the name of the server. *