]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Move the free down one
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 4 Jul 2008 16:11:03 +0000 (16:11 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 4 Jul 2008 16:11:03 +0000 (16:11 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@128029 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_config.c

index 0fb9430c76ced2231ead689de1d91b6b9c04b6f1..fd4fc00d3a29059376454b18d8016e1bd3b2abfa 100644 (file)
@@ -799,10 +799,10 @@ static char *complete_context_remove_extension_deprecated(const char *line, cons
        error3:
                if (exten)
                        free(exten);
+       }
 #ifdef BROKEN_READLINE
-               free(word2);
+       free(word2);
 #endif
-       }
        return ret; 
 }