Klaus Demo nginx / f25abef
fix segfault introduced in r1780 Igor Sysoev 14 years ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
995995 void
996996 ngx_ssl_free_buffer(ngx_connection_t *c)
997997 {
998 if (ngx_pfree(c->pool, c->ssl->buf->start) == NGX_OK) {
999 c->ssl->buf->start = NULL;
998 if (c->ssl->buf && c->ssl->buf->start) {
999 if (ngx_pfree(c->pool, c->ssl->buf->start) == NGX_OK) {
1000 c->ssl->buf->start = NULL;
1001 }
10001002 }
10011003 }
10021004