Skip to content

Commit 33e38c7

Browse files
committed
comment out possibly spurious tnfs_freesession(); to counter a potential malloc crash.
1 parent a0eb6ae commit 33e38c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/session.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ void tnfs_reset_cli_fd_in_sessions(int cli_fd)
334334
if (s->cli_fd == cli_fd)
335335
{
336336
LOG("Removing TCP connection handle from session 0x%02x\n", s->sid);
337-
tnfs_freesession(s, i);
337+
// tnfs_freesession(s, i); // commented out for now.
338338
s->cli_fd = 0;
339339
}
340340
}

0 commit comments

Comments
 (0)