fix memory leaks for simple sample code

This commit is contained in:
Mathieu Lacage
2007-02-12 19:32:42 +01:00
parent 5b05f21261
commit 12cf66da2b
4 changed files with 27 additions and 3 deletions

View File

@@ -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;