commands: cmd_results->input is duplicated/freed.

This commit is contained in:
S. Christoffer Eliesen 2015-10-23 13:03:14 +02:00
parent 88a2ddbe83
commit 362413bd50
2 changed files with 11 additions and 5 deletions

View file

@ -17,8 +17,7 @@ enum cmd_status {
struct cmd_results {
enum cmd_status status;
const char *input;
char *input;
char *error;
};