[asterisk-commits] res ari events: Fix memory leak in mustache template. (asterisk[master])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Oct 18 19:34:57 CDT 2015
Matt Jordan has submitted this change and it was merged.
Change subject: res_ari_events: Fix memory leak in mustache template.
......................................................................
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
---
M rest-api-templates/res_ari_resource.c.mustache
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Anonymous Coward #1000019: Verified
Matt Jordan: Looks good to me, approved
diff --git a/rest-api-templates/res_ari_resource.c.mustache b/rest-api-templates/res_ari_resource.c.mustache
index 36ca035..23f2a52 100644
--- a/rest-api-templates/res_ari_resource.c.mustache
+++ b/rest-api-templates/res_ari_resource.c.mustache
@@ -291,6 +291,7 @@
{{#has_websocket}}
ao2_cleanup({{full_name}}.ws_server);
{{full_name}}.ws_server = NULL;
+ ast_ari_websocket_events_event_websocket_dtor();
{{/has_websocket}}
{{/apis}}
stasis_app_unref();
--
To view, visit https://gerrit.asterisk.org/1446
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ied4c6deae89d21f87f9cf99676b1d055aa83b38b
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>
More information about the asterisk-commits
mailing list