[asterisk-commits] main/config: Clean config maps on shutdown. (asterisk[11])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jan 17 11:44:22 CST 2016


Joshua Colp has submitted this change and it was merged.

Change subject: main/config: Clean config maps on shutdown.
......................................................................


main/config: Clean config maps on shutdown.

ASTERISK-25700 #close

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

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



diff --git a/main/config.c b/main/config.c
index 59d5163..4766d2e 100644
--- a/main/config.c
+++ b/main/config.c
@@ -3378,6 +3378,8 @@
 
 	ast_cli_unregister_multiple(cli_config, ARRAY_LEN(cli_config));
 
+	clear_config_maps();
+
 	ao2_cleanup(cfg_hooks);
 	cfg_hooks = NULL;
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I096da84f9c62c6095f68bcf98eac4b7c7868e808
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 11
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <george.joseph at fairview5.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>



More information about the asterisk-commits mailing list