projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bc2127
)
Do not consider failure to read the configuration file in chan_motif to be a show...
author
Joshua Colp
<jcolp@digium.com>
Wed, 11 Jul 2012 16:42:01 +0000
(16:42 +0000)
committer
Joshua Colp
<jcolp@digium.com>
Wed, 11 Jul 2012 16:42:01 +0000
(16:42 +0000)
(closes issue ASTERISK-20103)
Reported by: Terry Wilson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369936
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_motif.c
patch
|
blob
|
history
diff --git
a/channels/chan_motif.c
b/channels/chan_motif.c
index
ff39bf1
..
52d15d0
100644
(file)
--- a/
channels/chan_motif.c
+++ b/
channels/chan_motif.c
@@
-2494,7
+2494,8
@@
static int load_module(void)
if (aco_process_config(&cfg_info, 0)) {
ast_log(LOG_ERROR, "Unable to read config file motif.conf. Not loading module.\n");
- goto end;
+ aco_info_destroy(&cfg_info);
+ return AST_MODULE_LOAD_DECLINE;
}
if (!(sched = ast_sched_context_create())) {