Commit 782f14f6 authored by Wandenberg Peixoto's avatar Wandenberg Peixoto

remove wrong instruction to destroy pool when it does not exists

parent 73e2760c
...@@ -260,7 +260,6 @@ ngx_http_push_stream_websocket_reading(ngx_http_request_t *r) ...@@ -260,7 +260,6 @@ ngx_http_push_stream_websocket_reading(ngx_http_request_t *r)
if ((temp_pool = ngx_create_pool(4096, r->connection->log)) == NULL) { if ((temp_pool = ngx_create_pool(4096, r->connection->log)) == NULL) {
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "push stream module: unable to allocate memory for temporary pool"); ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "push stream module: unable to allocate memory for temporary pool");
ngx_http_finalize_request(r, NGX_OK); ngx_http_finalize_request(r, NGX_OK);
ngx_destroy_pool(temp_pool);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment