From f1792820e19e60151e8349ace3cb335e350df018 Mon Sep 17 00:00:00 2001 From: farmovit Date: Tue, 28 Apr 2020 16:17:02 +0300 Subject: [PATCH] Fix memory leak (#152) --- src/FloatingDockContainer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/FloatingDockContainer.h b/src/FloatingDockContainer.h index 302c435..7defca3 100644 --- a/src/FloatingDockContainer.h +++ b/src/FloatingDockContainer.h @@ -68,6 +68,8 @@ class CDockingStateReader; class IFloatingWidget { public: + virtual ~IFloatingWidget() = default; + /** * Starts floating. * This function should get called typically from a mouse press event