From: Russell Bryant Date: Sat, 6 May 2006 02:32:23 +0000 (+0000) Subject: re-add a couple of lines that I shouldn't have removed in the previous commit. X-Git-Tag: 1.2.8~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7987a4d369ca4df2aa8d2026276b9b945f59910;p=thirdparty%2Fasterisk.git 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 ... git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25165 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/frame.c b/frame.c index cef3b8a832..a43a9834d7 100644 --- a/frame.c +++ b/frame.c @@ -326,7 +326,8 @@ struct ast_frame *ast_frisolate(struct ast_frame *fr) 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);