fix memory leaks for simple sample code
This commit is contained in:
1 parent
5b05f21261
commit
12cf66da2b
4 files changed
+27
-3
No files matched your search
@@ -35,8 +35,9 @@ class InternetNode : public Node
|
||||
{
|
||||
public:
|
||||
InternetNode();
|
||||
InternetNode(const InternetNode&); // Copy constructor
|
||||
virtual InternetNode* Copy() const;// Make a copy of this node
|
||||
InternetNode(const InternetNode&);
|
||||
virtual ~InternetNode ();
|
||||
virtual InternetNode* Copy() const;
|
||||
// Capability access
|
||||
virtual NetDeviceList* GetNetDevices() const;
|
||||
virtual L3Demux* GetL3Demux() const;
|
||||
|
||||
Reference in new issue
Block a user