diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2015-10-23 13:03:14 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2015-10-23 13:03:14 +0200 |
| commit | deffb617bb4124504d71d5b2b10513acfa58730e (patch) | |
| tree | c29db67ec97907448084a36909c1e51d74cd8eaf /include/commands.h | |
| parent | 166e39bd19da99a94460d49ff1b47b9c9f032e91 (diff) | |
commands: cmd_results->input is duplicated/freed.
Diffstat (limited to 'include/commands.h')
| -rw-r--r-- | include/commands.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/commands.h b/include/commands.h index 1e0a1452..8e53c74d 100644 --- a/include/commands.h +++ b/include/commands.h @@ -17,8 +17,7 @@ enum cmd_status { struct cmd_results { enum cmd_status status; - - const char *input; + char *input; char *error; }; |
