aboutsummaryrefslogtreecommitdiffstats
path: root/translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'translate.c')
-rwxr-xr-xtranslate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/translate.c b/translate.c
index f6b0f2cda..788436023 100755
--- a/translate.c
+++ b/translate.c
@@ -108,6 +108,7 @@ struct ast_trans_pvt *ast_translator_build_path(int dest, int source)
if (!tmp->state) {
free(tmp);
tmp = NULL;
+ return NULL;
}
/* Set the root, if it doesn't exist yet... */
if (!tmpr)