mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-01-23 02:34:59 +00:00
Fix coredumps related to:
in free(): warning: chunk is already free. as reported by M. B. Buchanan git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@153 bc163920-b10d-0410-b2c5-a5491ca2ceef
This commit is contained in:
parent
ca347ed2be
commit
61f55e4319
1 changed files with 6 additions and 0 deletions
|
|
@ -154,9 +154,15 @@ void closeall() {
|
|||
* Close all streams
|
||||
*/
|
||||
if (stunnel)
|
||||
{
|
||||
stream_close(stunnel);
|
||||
stunnel = NULL;
|
||||
}
|
||||
if (std)
|
||||
{
|
||||
stream_close(std);
|
||||
std = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue