[asterisk-commits] bbryant: branch group/issue_11972 r123543 - /team/group/issue_11972/apps/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 17 16:36:32 CDT 2008


Author: bbryant
Date: Tue Jun 17 16:36:31 2008
New Revision: 123543

URL: http://svn.digium.com/view/asterisk?view=rev&rev=123543
Log:
Change app_externalivr to reference counting for tcp.

Modified:
    team/group/issue_11972/apps/app_externalivr.c

Modified: team/group/issue_11972/apps/app_externalivr.c
URL: http://svn.digium.com/view/asterisk/team/group/issue_11972/apps/app_externalivr.c?view=diff&rev=123543&r1=123542&r2=123543
==============================================================================
--- team/group/issue_11972/apps/app_externalivr.c (original)
+++ team/group/issue_11972/apps/app_externalivr.c Tue Jun 17 16:36:31 2008
@@ -515,8 +515,7 @@
 	if (child_stderr[1])
 		close(child_stderr[1]);
 	if (ser) {
-		fclose(ser->f);
-		ast_tcptls_session_instance_destroy(ser);
+		ao2_ref(ser, -1);
 	}
 	while ((entry = AST_LIST_REMOVE_HEAD(&u->playlist, list)))
 		ast_free(entry);




More information about the asterisk-commits mailing list