fix memory leaks for simple sample code

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

No files matched your search

+3 -2
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;