[asterisk-commits] mmichelson: trunk r266098 - /trunk/apps/app_dial.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 26 15:17:55 CDT 2010


Author: mmichelson
Date: Wed May 26 15:17:54 2010
New Revision: 266098

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=266098
Log:
Remove redundant ast_conntected_line_free call.

This wouldn't cause any problems, but it's certainly not needed either.


Modified:
    trunk/apps/app_dial.c

Modified: trunk/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_dial.c?view=diff&rev=266098&r1=266097&r2=266098
==============================================================================
--- trunk/apps/app_dial.c (original)
+++ trunk/apps/app_dial.c Wed May 26 15:17:54 2010
@@ -661,7 +661,6 @@
 				/* This is for the channel drivers */
 				outgoing->chan->hangupcause = AST_CAUSE_ANSWERED_ELSEWHERE;
 			}
-			ast_party_connected_line_free(&outgoing->connected);
 			ast_hangup(outgoing->chan);
 		}
 		oo = outgoing;




More information about the asterisk-commits mailing list