mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 22:51:12 -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);
|
||||
~RsFriendListModel(){}
|
||||
|
||||
class RsNodeDetails: public RsPeerDetails {};// in the near future, there will be a specific class for Profile/Node details in replacement of RsPeerDetails
|
||||
class RsProfileDetails: public RsPeerDetails {};
|
||||
class RsNodeDetails: 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
|
||||
{
|
||||
|
@ -55,6 +63,7 @@ public:
|
|||
struct HierarchicalNodeInformation
|
||||
{
|
||||
HierarchicalNodeInformation() : last_update_ts(0) {}
|
||||
virtual ~HierarchicalNodeInformation() {}
|
||||
|
||||
rstime_t last_update_ts;
|
||||
RsNodeDetails node_info;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue