mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix a memory leak when reloading queue rules.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4762,6 +4762,8 @@ static int reload_queue_rules(int reload)
|
||||
AST_LIST_UNLOCK(&rule_lists);
|
||||
}
|
||||
|
||||
ast_config_destroy(cfg);
|
||||
|
||||
return AST_MODULE_LOAD_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user