summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/translate.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/main/translate.c b/main/translate.c
index 6c27e4e24..2e98df92b 100644
--- a/main/translate.c
+++ b/main/translate.c
@@ -225,10 +225,8 @@ struct ast_frame *ast_trans_frameout(struct ast_trans_pvt *pvt,
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)