[asterisk-commits] russell: branch russell/chan_refcount r82629 - /team/russell/chan_refcount/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 17 14:00:58 CDT 2007


Author: russell
Date: Mon Sep 17 14:00:58 2007
New Revision: 82629

URL: http://svn.digium.com/view/asterisk?view=rev&rev=82629
Log:
Don't actually try to free the channel in the destructor.  astobj2 handles freeing
the main block of memory

Modified:
    team/russell/chan_refcount/main/channel.c

Modified: team/russell/chan_refcount/main/channel.c
URL: http://svn.digium.com/view/asterisk/team/russell/chan_refcount/main/channel.c?view=diff&rev=82629&r1=82628&r2=82629
==============================================================================
--- team/russell/chan_refcount/main/channel.c (original)
+++ team/russell/chan_refcount/main/channel.c Mon Sep 17 14:00:58 2007
@@ -712,8 +712,6 @@
 	ast_jb_destroy(chan);
 
 	ast_string_field_free_pools(chan);
-
-	ast_free(chan);
 
 	ast_device_state_changed_literal(name);
 }




More information about the asterisk-commits mailing list