diff --git a/main/translate.c b/main/translate.c index 9f832a65d7e962b3ae23a11fd513cf251b2f7935..24d886473245fa481f53d4e18791882460803d5a 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;