Accept NULL in *_free.

This commit is contained in:
Ben Laurie
1999-01-07 19:15:59 +00:00
parent 6fa89f94c4
commit e03ddfae7e
24 changed files with 66 additions and 4 deletions

View File

@@ -257,6 +257,9 @@ SSL *s;
{
SSL2_CTX *s2;
if(s == NULL)
return;
s2=s->s2;
if (s2->rbuf != NULL) Free(s2->rbuf);
if (s2->wbuf != NULL) Free(s2->wbuf);