diff options
author | S. Christoffer Eliesen <christoffer@eliesen.no> | 2015-10-23 13:03:14 +0200 |
---|---|---|
committer | S. Christoffer Eliesen <christoffer@eliesen.no> | 2015-10-23 13:03:14 +0200 |
commit | 362413bd5031aa709ab5d7a39c0d5912554e545b (patch) | |
tree | c29db67ec97907448084a36909c1e51d74cd8eaf /include | |
parent | 88a2ddbe83347c98dcd4bd20f6945e4923ea74ef (diff) | |
download | sway-362413bd5031aa709ab5d7a39c0d5912554e545b.tar.xz |
commands: cmd_results->input is duplicated/freed.
Diffstat (limited to 'include')
-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; }; |