fix r3155

This commit is contained in:
Igor Sysoev 2009-09-24 20:09:12 +00:00
parent f203d9a2dd
commit 674aae5596
1 changed files with 1 additions and 1 deletions

View File

@ -1947,7 +1947,7 @@ ngx_ssl_get_session_id(ngx_connection_t *c, ngx_pool_t *pool, ngx_str_t *s)
s->len = 2 * len;
s->data = ngx_pnalloc(pool, 2 * len);
if (s->data == NULL) {
ngx_free(p);
ngx_free(buf);
return NGX_ERROR;
}