Skip to content

Commit

Permalink
comment out possibly spurious tnfs_freesession(); to counter a potent…
Browse files Browse the repository at this point in the history
…ial malloc crash.
  • Loading branch information
tschak909 committed Dec 14, 2024
1 parent a0eb6ae commit 33e38c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ void tnfs_reset_cli_fd_in_sessions(int cli_fd)
if (s->cli_fd == cli_fd)
{
LOG("Removing TCP connection handle from session 0x%02x\n", s->sid);
tnfs_freesession(s, i);
// tnfs_freesession(s, i); // commented out for now.
s->cli_fd = 0;
}
}
Expand Down

0 comments on commit 33e38c7

Please sign in to comment.