[svn-commits] file: branch 1.2 r48037 - /branches/1.2/pbx/pbx_spool.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Nov 27 08:30:38 MST 2006


Author: file
Date: Mon Nov 27 09:30:37 2006
New Revision: 48037

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48037
Log:
Do not reference the freed outgoing structure in the debug message. (issue #8425 reported by arkadia)

Modified:
    branches/1.2/pbx/pbx_spool.c

Modified: branches/1.2/pbx/pbx_spool.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/pbx/pbx_spool.c?view=diff&rev=48037&r1=48036&r2=48037
==============================================================================
--- branches/1.2/pbx/pbx_spool.c (original)
+++ branches/1.2/pbx/pbx_spool.c Mon Nov 27 09:30:37 2006
@@ -315,8 +315,8 @@
 					now += o->retrytime;
 					if (o->callingpid && (o->callingpid == ast_mainpid)) {
 						safe_append(o, time(NULL), "DelayedRetry");
+						ast_log(LOG_DEBUG, "Delaying retry since we're currently running '%s'\n", o->fn);
 						free_outgoing(o);
-						ast_log(LOG_DEBUG, "Delaying retry since we're currently running '%s'\n", o->fn);
 					} else {
 						/* Increment retries */
 						o->retries++;



More information about the svn-commits mailing list