From 181a824d11fb6c7a5ab190b747dabcbf23d1210c Mon Sep 17 00:00:00 2001 From: csoler Date: Tue, 25 Jul 2017 21:56:20 +0200 Subject: [PATCH] fixed memory leak in BWGraphSource due to missing destructor --- retroshare-gui/src/gui/statistics/BWGraph.h | 1 + 1 file changed, 1 insertion(+) diff --git a/retroshare-gui/src/gui/statistics/BWGraph.h b/retroshare-gui/src/gui/statistics/BWGraph.h index 3e2c4b8b2..efa4a8a4e 100644 --- a/retroshare-gui/src/gui/statistics/BWGraph.h +++ b/retroshare-gui/src/gui/statistics/BWGraph.h @@ -23,6 +23,7 @@ public: }; BWGraphSource() ; + virtual ~BWGraphSource() {} enum { SELECTOR_TYPE_FRIEND=0x00, SELECTOR_TYPE_SERVICE=0x01 }; enum { GRAPH_TYPE_SINGLE=0x00, GRAPH_TYPE_ALL=0x01, GRAPH_TYPE_SUM=0x02 };