The readline support change freed input just after ss_execute_line(),
but input can be used in the error block immediately following. Free
input after the error block instead.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25046
dc483132-0cff-0310-8789-
dd5450dbe970
#endif
code = ss_execute_line (sci_idx, input);
- free(input);
if (code == SS_ET_COMMAND_NOT_FOUND) {
register char *c = input;
while (*c == ' ' || *c == '\t')
"Unknown request \"%s\". Type \"?\" for a request list.",
c);
}
+ free(input);
}
code = 0;
egress: