Skip to content

Commit 8fbd094

Browse files
double free error fix (#5081)
1 parent 58fd56c commit 8fbd094

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/perf/lib/Tcp.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,6 @@ TcpServer::~TcpServer()
342342
if (Listener) {
343343
CxPlatSocketDelete(Listener);
344344
}
345-
if (SecConfig) {
346-
CxPlatTlsSecConfigDelete(SecConfig); // TODO - Ref counted instead?
347-
}
348345
}
349346

350347
bool TcpServer::Start(const QUIC_ADDR* LocalAddress)

0 commit comments

Comments
 (0)