From e098adeaf7993cbeadae1db6e4f5f7a771966ed0 Mon Sep 17 00:00:00 2001 From: Automerge script Date: Sat, 18 Feb 2006 01:03:27 +0000 Subject: [PATCH] automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@10430 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- app.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.c b/app.c index 95347a27e5..af0f6c3556 100644 --- a/app.c +++ b/app.c @@ -847,6 +847,7 @@ int ast_play_and_prepend(struct ast_channel *chan, char *playfile, char *recordf res = ast_set_read_format(chan, AST_FORMAT_SLINEAR); if (res < 0) { ast_log(LOG_WARNING, "Unable to set to linear mode, giving up\n"); + ast_dsp_free(sildet); return -1; } } @@ -951,6 +952,7 @@ int ast_play_and_prepend(struct ast_channel *chan, char *playfile, char *recordf } else { ast_log(LOG_WARNING, "Error creating writestream '%s', format '%s'\n", prependfile, sfmt[x]); } + ast_dsp_free(sildet); *duration = end - start; #if 0 if (outmsg > 1) { -- 2.47.2