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:
Mark Janssen 2007-03-28 15:29:57 +00:00
parent ca347ed2be
commit 61f55e4319

View file

@ -154,9 +154,15 @@ void closeall() {
* Close all streams
*/
if (stunnel)
{
stream_close(stunnel);
stunnel = NULL;
}
if (std)
{
stream_close(std);
std = NULL;
}
}
/*