[asterisk-commits] branch 1.2 r25165 - /branches/1.2/frame.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 8 04:11:27 MST 2006


Author: russell
Date: Fri May  5 21:32:23 2006
New Revision: 25165

URL: http://svn.digium.com/view/asterisk?rev=25165&view=rev
Log:
re-add a couple of lines that I shouldn't have removed in the previous commit.
I think I should be going to bed now ...

Modified:
    branches/1.2/frame.c

Modified: branches/1.2/frame.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/frame.c?rev=25165&r1=25164&r2=25165&view=diff
==============================================================================
--- branches/1.2/frame.c (original)
+++ branches/1.2/frame.c Fri May  5 21:32:23 2006
@@ -326,7 +326,8 @@
 	if (!(fr->mallocd & AST_MALLOCD_SRC)) {
 		if (fr->src)
 			out->src = strdup(fr->src);
-	}
+	} else
+		out->src = fr->src;
 	
 	if (!(fr->mallocd & AST_MALLOCD_DATA))  {
 		newdata = malloc(fr->datalen + AST_FRIENDLY_OFFSET);



More information about the asterisk-commits mailing list