[asterisk-commits] russell: trunk r38330 - /trunk/res/res_features.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jul 26 21:44:50 MST 2006


Author: russell
Date: Wed Jul 26 23:44:49 2006
New Revision: 38330

URL: http://svn.digium.com/view/asterisk?rev=38330&view=rev
Log:
fix seg fault when the parked call that timed out was the last one in the list
of parked calls (fixes issue #7565)

Modified:
    trunk/res/res_features.c

Modified: trunk/res/res_features.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_features.c?rev=38330&r1=38329&r2=38330&view=diff
==============================================================================
--- trunk/res/res_features.c (original)
+++ trunk/res/res_features.c Wed Jul 26 23:44:49 2006
@@ -1567,7 +1567,7 @@
 					if (ast_context_remove_extension2(con, pt->parkingexten, 1, NULL))
 						ast_log(LOG_WARNING, "Whoa, failed to remove the extension!\n");
 					else
-						notify_metermaids(pu->parkingexten, parking_con);
+						notify_metermaids(pt->parkingexten, parking_con);
 				} else
 					ast_log(LOG_WARNING, "Whoa, no parking context?\n");
 				free(pt);



More information about the asterisk-commits mailing list