[svn-commits] russell: branch russell/ast_channel_ao2 r183550 - /team/russell/ast_channel_a...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Mar 20 09:31:08 CDT 2009
Author: russell
Date: Fri Mar 20 09:31:05 2009
New Revision: 183550
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=183550
Log:
Another cleanup from Mark
Modified:
team/russell/ast_channel_ao2/channels/chan_local.c
Modified: team/russell/ast_channel_ao2/channels/chan_local.c
URL: http://svn.digium.com/svn-view/asterisk/team/russell/ast_channel_ao2/channels/chan_local.c?view=diff&rev=183550&r1=183549&r2=183550
==============================================================================
--- team/russell/ast_channel_ao2/channels/chan_local.c (original)
+++ team/russell/ast_channel_ao2/channels/chan_local.c Fri Mar 20 09:31:05 2009
@@ -740,12 +740,9 @@
if (tmp) {
tmp = ast_channel_release(tmp);
}
- if (tmp2) {
- tmp2 = ast_channel_release(tmp2);
- }
ast_log(LOG_WARNING, "Unable to allocate channel structure(s)\n");
return NULL;
- }
+ }
tmp2->tech = tmp->tech = &local_tech;
More information about the svn-commits
mailing list