From eef1abe415b36f02f5e8189d68ddcca5a7619f47 Mon Sep 17 00:00:00 2001 From: Ildar Kashaev <55764135+IldarKashaev@users.noreply.github.com> Date: Thu, 30 Mar 2023 15:03:02 +0300 Subject: [PATCH] Fix loghandler memleak (#609) --- include/crow/logging.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/crow/logging.h b/include/crow/logging.h index f68a06ecf..031c3b5af 100644 --- a/include/crow/logging.h +++ b/include/crow/logging.h @@ -33,6 +33,8 @@ namespace crow class ILogHandler { public: + virtual ~ILogHandler() = default; + virtual void log(std::string message, LogLevel level) = 0; };