mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 23:45:49 -04:00
added missing virtual destructors possibly causing memory leaks
This commit is contained in:
parent
98edbc55d2
commit
243ba595f0
1 changed files with 11 additions and 2 deletions
|
@ -39,8 +39,16 @@ public:
|
||||||
explicit RsFriendListModel(QObject *parent = NULL);
|
explicit RsFriendListModel(QObject *parent = NULL);
|
||||||
~RsFriendListModel(){}
|
~RsFriendListModel(){}
|
||||||
|
|
||||||
class RsNodeDetails: public RsPeerDetails {};// in the near future, there will be a specific class for Profile/Node details in replacement of RsPeerDetails
|
class RsNodeDetails: public RsPeerDetails
|
||||||
class RsProfileDetails: public RsPeerDetails {};
|
{
|
||||||
|
public:
|
||||||
|
virtual ~RsNodeDetails() {}
|
||||||
|
};// in the near future, there will be a specific class for Profile/Node details in replacement of RsPeerDetails
|
||||||
|
class RsProfileDetails: public RsPeerDetails
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
virtual ~RsProfileDetails() {}
|
||||||
|
};
|
||||||
|
|
||||||
struct HierarchicalGroupInformation
|
struct HierarchicalGroupInformation
|
||||||
{
|
{
|
||||||
|
@ -55,6 +63,7 @@ public:
|
||||||
struct HierarchicalNodeInformation
|
struct HierarchicalNodeInformation
|
||||||
{
|
{
|
||||||
HierarchicalNodeInformation() : last_update_ts(0) {}
|
HierarchicalNodeInformation() : last_update_ts(0) {}
|
||||||
|
virtual ~HierarchicalNodeInformation() {}
|
||||||
|
|
||||||
rstime_t last_update_ts;
|
rstime_t last_update_ts;
|
||||||
RsNodeDetails node_info;
|
RsNodeDetails node_info;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue