diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-06 02:32:23 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-06 02:32:23 +0000 |
commit | 05148809847d5647ae7448ed1965f94d916a3350 (patch) | |
tree | fa1f44a5cf6ab336657bd169d08446291b187b90 /frame.c | |
parent | 72f040281b09f8ad7c44558ea46e28fa6dee0565 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.2@25165 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'frame.c')
-rw-r--r-- | frame.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |