Version 0.1.9 from FTP
authorMark Spencer <markster@digium.com>
Tue, 29 May 2001 12:55:04 +0000 (12:55 +0000)
committerMark Spencer <markster@digium.com>
Tue, 29 May 2001 12:55:04 +0000 (12:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@329 65c4cc65-6c06-0410-ace0-fbb531ad65f3

translate.c

index f6b0f2c..7884360 100755 (executable)
@@ -108,6 +108,7 @@ struct ast_trans_pvt *ast_translator_build_path(int dest, int source)
                                if (!tmp->state) {
                                        free(tmp);
                                        tmp = NULL;
                                if (!tmp->state) {
                                        free(tmp);
                                        tmp = NULL;
+                                       return NULL;
                                }
                                /* Set the root, if it doesn't exist yet... */
                                if (!tmpr)
                                }
                                /* Set the root, if it doesn't exist yet... */
                                if (!tmpr)