[asterisk-commits] russell: branch russell/iax_refcount r80022 - /team/russell/iax_refcount/chan...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Aug 19 22:51:38 CDT 2007


Author: russell
Date: Sun Aug 19 22:51:37 2007
New Revision: 80022

URL: http://svn.digium.com/view/asterisk?view=rev&rev=80022
Log:
Fix the iax2_user destructor.  The astobj2 core frees the object itself.
(Thanks to Marta for pointing this out!)

Modified:
    team/russell/iax_refcount/channels/chan_iax2.c

Modified: team/russell/iax_refcount/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/team/russell/iax_refcount/channels/chan_iax2.c?view=diff&rev=80022&r1=80021&r2=80022
==============================================================================
--- team/russell/iax_refcount/channels/chan_iax2.c (original)
+++ team/russell/iax_refcount/channels/chan_iax2.c Sun Aug 19 22:51:37 2007
@@ -9135,7 +9135,6 @@
 		user->vars = NULL;
 	}
 	ast_string_field_free_pools(user);
-	free(user);
 }
 
 /*! \brief Create in-memory user structure from configuration */




More information about the asterisk-commits mailing list