mirror of
https://github.com/moparisthebest/spdylay
synced 2024-12-22 07:38:52 -05:00
shrpx: Fix resource leak
This commit is contained in:
parent
cbb819aed7
commit
5774f8110d
@ -179,6 +179,7 @@ int htp_hdrs_completecb(http_parser *htp)
|
||||
if(bufferevent_write(upstream->get_client_handler()->get_bev(),
|
||||
reply_100, sizeof(reply_100)-1) != 0) {
|
||||
ULOG(FATAL, upstream) << "bufferevent_write() faild";
|
||||
delete dconn;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user