mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-07-07 02:33:55 +02:00
Merge 3cfbc05bf9
into 37fc21f3cf
This commit is contained in:
commit
12ae5e6a9a
2 changed files with 3 additions and 1 deletions
1
I2CP.cpp
1
I2CP.cpp
|
@ -178,6 +178,7 @@ namespace client
|
|||
memcpy (m_NextMessage + m_NextMessageOffset, m_Buffer, offset);
|
||||
HandleNextMessage (m_NextMessage);
|
||||
delete[] m_NextMessage;
|
||||
m_NextMessage = nullptr
|
||||
}
|
||||
}
|
||||
while (offset < bytes_transferred)
|
||||
|
|
3
SAM.cpp
3
SAM.cpp
|
@ -56,7 +56,8 @@ namespace client
|
|||
if (m_Session)
|
||||
{
|
||||
m_Session->DelSocket (shared_from_this ());
|
||||
m_Session->localDestination->StopAcceptingStreams ();
|
||||
if (m_Session->localDestination)
|
||||
m_Session->localDestination->StopAcceptingStreams ();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue