mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-04 09:05:34 -05:00
added missing virtual destructors possibly causing memory leaks
This commit is contained in:
parent
98edbc55d2
commit
243ba595f0
@ -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…
x
Reference in New Issue
Block a user