mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 00:24:05 +00:00
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
This commit is contained in:
@@ -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++;
|
||||
|
Reference in New Issue
Block a user