make capabilities and sockets refcounted
This commit is contained in:
1 parent
4e7a215f6a
commit
330ea61b96
12 files changed
+32
-17
No files matched your search
@@ -78,20 +78,20 @@ void InternetNode::Dispose()
|
||||
if (m_l3Demux != 0)
|
||||
{
|
||||
m_l3Demux->Dispose ();
|
||||
delete m_l3Demux;
|
||||
m_l3Demux->Unref ();
|
||||
m_l3Demux = 0;
|
||||
}
|
||||
if (m_ipv4L4Demux != 0)
|
||||
{
|
||||
m_ipv4L4Demux->Dispose ();
|
||||
delete m_ipv4L4Demux;
|
||||
m_ipv4L4Demux->Unref ();
|
||||
m_ipv4L4Demux = 0;
|
||||
}
|
||||
|
||||
if (m_applicationList != 0)
|
||||
{
|
||||
m_applicationList->Dispose ();
|
||||
delete m_applicationList;
|
||||
m_applicationList->Unref ();
|
||||
m_applicationList = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user