[Asterisk-cvs] asterisk/apps app_rpt.c,1.47,1.48
kpfleming
kpfleming
Thu Nov 10 18:04:50 CST 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv9686/apps
Modified Files:
app_rpt.c
Log Message:
issue #5706
Index: app_rpt.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_rpt.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- app_rpt.c 3 Nov 2005 18:58:24 -0000 1.47
+++ app_rpt.c 10 Nov 2005 22:55:36 -0000 1.48
@@ -5758,6 +5758,7 @@
if (!rpt_vars[i].rxchanname)
{
ast_log(LOG_WARNING,"Did not specify rxchanname for node %s\n",rpt_vars[i].name);
+ ast_config_destroy(cfg);
pthread_exit(NULL);
}
/* if is a remote, dont start one for it */
@@ -5775,6 +5776,7 @@
if (!rpt_vars[i].ident)
{
ast_log(LOG_WARNING,"Did not specify ident for node %s\n",rpt_vars[i].name);
+ ast_config_destroy(cfg);
pthread_exit(NULL);
}
pthread_attr_init(&attr);
@@ -5821,6 +5823,7 @@
}
usleep(2000000);
}
+ ast_config_destroy(cfg);
pthread_exit(NULL);
}
More information about the svn-commits
mailing list