summaryrefslogtreecommitdiff
path: root/main/translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/translate.c')
-rw-r--r--main/translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/translate.c b/main/translate.c
index 9f832a65d..24d886473 100644
--- a/main/translate.c
+++ b/main/translate.c
@@ -652,6 +652,7 @@ int __ast_register_translator(struct ast_translator *t, struct ast_module *mod)
(u->cost > t->cost)) {
AST_RWLIST_INSERT_BEFORE_CURRENT(t, list);
t = NULL;
+ break;
}
}
AST_RWLIST_TRAVERSE_SAFE_END;