From: Joshua Colp Date: Mon, 27 Nov 2006 15:30:37 +0000 (+0000) Subject: Do not reference the freed outgoing structure in the debug message. (issue #8425... X-Git-Tag: 1.2.14~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54fc8c75d1793ea4a3062b0c72132b82a4dd92c1;p=thirdparty%2Fasterisk.git 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 --- 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++;