Skip to content

Commit 3019a97

Browse files
wqx6bzbarsky-apple
andauthored
Update src/inet/TCPEndPointImplLwIP.cpp
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
1 parent 1700904 commit 3019a97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/inet/TCPEndPointImplLwIP.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ void TCPEndPointImplLwIP::DoCloseImpl(CHIP_ERROR err, State oldState)
454454
{
455455
// If the Listen EndPoint has a pre-allocated connect EndPoint, release it for the Retain() in the constructor
456456
mPreAllocatedConnectEP->Free();
457+
mPreAllocatedConnectEP = nullptr;
457458
}
458459
if (mState == State::kClosed)
459460
{

0 commit comments

Comments
 (0)