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
1.2
Joshua Colp 19 years ago
parent 96a36252b6
commit 54fc8c75d1

@ -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++;

Loading…
Cancel
Save