Merged revisions 119354 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119354 | file | 2008-05-30 16:46:37 -0300 (Fri, 30 May 2008) | 2 lines

Fix a bug I found while testing for another issue.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@119355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2008-05-30 19:47:30 +00:00
parent fcc15d65b1
commit 88a847c4cc

View File

@@ -155,6 +155,7 @@ static void *autoservice_run(void *ign)
continue; continue;
} }
if (f) {
for (i = 0; i < x; i++) { for (i = 0; i < x; i++) {
struct ast_frame *dup_f; struct ast_frame *dup_f;
@@ -168,8 +169,6 @@ static void *autoservice_run(void *ign)
break; break;
} }
if (f) {
ast_frfree(f); ast_frfree(f);
} }
} }