[asterisk-commits] manager: Cleanup manager channelvars during shutdown. (asterisk[11])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 11 14:35:30 CST 2016


Joshua Colp has submitted this change and it was merged.

Change subject: manager: Cleanup manager_channelvars during shutdown.
......................................................................


manager: Cleanup manager_channelvars during shutdown.

ASTERISK-25680 #close

Change-Id: I3251d781cbc3f48a6a7e1b969ac4983f552b2446
---
M main/manager.c
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, approved



diff --git a/main/manager.c b/main/manager.c
index e588c21..f9f37ba 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -7600,6 +7600,8 @@
 	while ((user = AST_LIST_REMOVE_HEAD(&users, list))) {
 		manager_free_user(user);
 	}
+
+	ast_free(manager_channelvars);
 }
 
 static void manager_set_defaults(void)

-- 
To view, visit https://gerrit.asterisk.org/1981
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3251d781cbc3f48a6a7e1b969ac4983f552b2446
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 11
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>



More information about the asterisk-commits mailing list