[mod_verto] Fix leak in http_run.

This commit is contained in:
Seven Du 2021-10-24 20:39:56 +08:00 committed by GitHub
parent 408480bae0
commit f9994c00f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1924,6 +1924,7 @@ done:
keepalive = request->keepalive; keepalive = request->keepalive;
kws_request_free(&request); kws_request_free(&request);
if (stream.param_event) switch_event_destroy(&stream.param_event);
if (keepalive) { if (keepalive) {
kws_t *wsh = jsock->ws; kws_t *wsh = jsock->ws;