Fix a bug I found while testing for another issue.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@119354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Joshua Colp 17 years ago
parent 1540ba27c1
commit 9f123152fa

@ -160,6 +160,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;
@ -173,8 +174,6 @@ static void *autoservice_run(void *ign)
break; break;
} }
if (f) {
ast_frfree(f); ast_frfree(f);
} }
} }

Loading…
Cancel
Save