From 54fc8c75d1793ea4a3062b0c72132b82a4dd92c1 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Mon, 27 Nov 2006 15:30:37 +0000 Subject: [PATCH] Do not reference the freed outgoing structure in the debug message. (issue #8425 reported by arkadia) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48037 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx/pbx_spool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c index a91a7e255b..187beda1c3 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++; -- 2.47.2