Skip to content

Commit 9a07b6e

Browse files
committed
Bug#35865221 PB2 weekly valgrind Warning: invalid file descriptor -1 in syscall close()
Post push fix. Remove redundant call to socket close. Change-Id: I4bfc2209e6f976aa5642a3c7fa6f12395e9fdc60
1 parent 1a9f4e7 commit 9a07b6e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

storage/ndb/src/common/transporter/Transporter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ bool Transporter::connect_client(NdbSocket &&socket) {
318318
if (!socket.is_valid()) {
319319
DBUG_PRINT("error", ("Socket %s is not valid", socket.to_string().c_str()));
320320
DEBUG_FPRINTF((stderr, "Socket not valid\n"));
321-
socket.close();
322321
DBUG_RETURN(false);
323322
}
324323

0 commit comments

Comments
 (0)