[asterisk-commits] russell: trunk r98775 - in /trunk: ./ main/translate.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 14 11:39:32 CST 2008


Author: russell
Date: Mon Jan 14 11:39:31 2008
New Revision: 98775

URL: http://svn.digium.com/view/asterisk?view=rev&rev=98775
Log:
Merged revisions 98774 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r98774 | russell | 2008-01-14 11:38:38 -0600 (Mon, 14 Jan 2008) | 3 lines

Revert a change that introduces an unacceptable performance hit and is causing
memory leaks ... (from rev 97973)

........

Modified:
    trunk/   (props changed)
    trunk/main/translate.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/translate.c
URL: http://svn.digium.com/view/asterisk/trunk/main/translate.c?view=diff&rev=98775&r1=98774&r2=98775
==============================================================================
--- trunk/main/translate.c (original)
+++ trunk/main/translate.c Mon Jan 14 11:39:31 2008
@@ -225,10 +225,8 @@
 	f->offset = AST_FRIENDLY_OFFSET;
 	f->src = pvt->t->name;
 	f->data = pvt->outbuf;
-	/* We must clone the frame, because the pvt could disappear
-	 * the moment after we return (and unlock the source channel).
-	 */
-	return ast_frisolate(f);
+
+	return f;
 }
 
 static struct ast_frame *default_frameout(struct ast_trans_pvt *pvt)




More information about the asterisk-commits mailing list