diff options
author | Mark Michelson <mmichelson@digium.com> | 2007-12-21 20:30:05 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2007-12-21 20:30:05 +0000 |
commit | e0b9943818bae3461199e34c3a9589e092c3f1a0 (patch) | |
tree | 5a7b69ae199634583f8a8d3bff7a82fa75436e2a /apps/app_queue.c | |
parent | b6eab6d084906a2c37b75fb19764750ae425588e (diff) |
Fix a memory leak when reloading queue rules.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 0f2df8d16..323ab4d8c 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -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; } |