aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-27 15:30:37 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-27 15:30:37 +0000
commit5344383ca6354955f5c38760b0bc340549a9b259 (patch)
treead02737930844be6cfcd81954901e948748eac5e /pbx
parent4fe036cc23cc5b662678f6da214a9b506b79b0a7 (diff)
Do not reference the freed outgoing structure in the debug message. (issue #8425 reported by arkadia)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48037 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_spool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c
index a91a7e255..187beda1c 100644
--- a/pbx/pbx_spool.c
+++ b/pbx/pbx_spool.c
@@ -315,8 +315,8 @@ static int scan_service(char *fn, time_t now, time_t atime)
now += o->retrytime;
if (o->callingpid && (o->callingpid == ast_mainpid)) {
safe_append(o, time(NULL), "DelayedRetry");
- free_outgoing(o);
ast_log(LOG_DEBUG, "Delaying retry since we're currently running '%s'\n", o->fn);
+ free_outgoing(o);
} else {
/* Increment retries */
o->retries++;