I didn't see that Mark already fixed the underlying issue!

Yay for removing useless code.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@203380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Terry Wilson
2009-06-25 21:13:10 +00:00
parent 090c2f1e4e
commit 5e3e234df6

View File

@@ -1289,9 +1289,8 @@ static char *complete_fn_3(const char *line, const char *word, int pos, int stat
c += (strlen(ast_config_AST_MODULE_DIR) + 1);
if (c)
c = strdup(c);
if (d) {
free(d);
}
free(d);
return c;
}