[asterisk-commits] rmudgett: branch group/bridge_construction r381011 - /team/group/bridge_const...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 6 17:25:17 CST 2013


Author: rmudgett
Date: Wed Feb  6 17:25:13 2013
New Revision: 381011

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=381011
Log:
Add missing interval hook destrutor.

Modified:
    team/group/bridge_construction/main/bridging.c

Modified: team/group/bridge_construction/main/bridging.c
URL: http://svnview.digium.com/svn/asterisk/team/group/bridge_construction/main/bridging.c?view=diff&rev=381011&r1=381010&r2=381011
==============================================================================
--- team/group/bridge_construction/main/bridging.c (original)
+++ team/group/bridge_construction/main/bridging.c Wed Feb  6 17:25:13 2013
@@ -1075,6 +1075,9 @@
 
 		if (res || !hook->interval) {
 			ast_debug(1, "Hook '%p' is being removed from '%p'\n", hook, bridge_channel);
+			if (hook->destructor) {
+				hook->destructor(hook->hook_pvt);
+			}
 			ast_free(hook);
 			continue;
 		}




More information about the asterisk-commits mailing list