mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 18:48:54 +08:00
shrpx: Fix missing delete
This commit is contained in:
@@ -572,7 +572,7 @@ void spdy_downstream_eventcb(bufferevent *bev, short events, void *ptr)
|
|||||||
// If stream was not closed, then we set MSG_COMPLETE and let
|
// If stream was not closed, then we set MSG_COMPLETE and let
|
||||||
// on_stream_close_callback delete downstream.
|
// on_stream_close_callback delete downstream.
|
||||||
if(upstream->error_reply(downstream, 502) != 0) {
|
if(upstream->error_reply(downstream, 502) != 0) {
|
||||||
upstream->get_client_handler();
|
delete upstream->get_client_handler();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
downstream->set_response_state(Downstream::MSG_COMPLETE);
|
downstream->set_response_state(Downstream::MSG_COMPLETE);
|
||||||
|
|||||||
Reference in New Issue
Block a user