]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_verto] Fix leak in http_run.
authorSeven Du <dujinfang@gmail.com>
Sun, 24 Oct 2021 12:39:56 +0000 (20:39 +0800)
committerGitHub <noreply@github.com>
Sun, 24 Oct 2021 12:39:56 +0000 (15:39 +0300)
src/mod/endpoints/mod_verto/mod_verto.c

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