fix memory leaks for simple sample code
This commit is contained in:
@@ -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