[Asterisk-code-review] main/config: Clean config maps on shutdown. (asterisk[13])

Corey Farrell asteriskteam at digium.com
Fri Jan 15 19:59:59 CST 2016


Corey Farrell has uploaded a new change for review.

  https://gerrit.asterisk.org/2027

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(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/27/2027/1

diff --git a/main/config.c b/main/config.c
index eefc8ca..74f42cf 100644
--- a/main/config.c
+++ b/main/config.c
@@ -3863,6 +3863,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/2027
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I096da84f9c62c6095f68bcf98eac4b7c7868e808
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Corey Farrell <git at cfware.com>



More information about the asterisk-code-review mailing list