Skip to content
Snippets Groups Projects
Commit b19860c0 authored by Corey Farrell's avatar Corey Farrell
Browse files

res_ari_events: Fix memory leak in mustache template.

ASTERISK-25308 fixed a memory leak in res_ari_events.c, but
this file is regenerated by a template and the template was
not fixed.

Change-Id: Ied4c6deae89d21f87f9cf99676b1d055aa83b38b
parent 2581e460
Branches
Tags
No related merge requests found
...@@ -291,6 +291,7 @@ static int unload_module(void) ...@@ -291,6 +291,7 @@ static int unload_module(void)
{{#has_websocket}} {{#has_websocket}}
ao2_cleanup({{full_name}}.ws_server); ao2_cleanup({{full_name}}.ws_server);
{{full_name}}.ws_server = NULL; {{full_name}}.ws_server = NULL;
ast_ari_websocket_events_event_websocket_dtor();
{{/has_websocket}} {{/has_websocket}}
{{/apis}} {{/apis}}
stasis_app_unref(); stasis_app_unref();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment