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/commands.h | |
parent | commands: Code formatting. (diff) | |
download | sway-362413bd5031aa709ab5d7a39c0d5912554e545b.tar.gz sway-362413bd5031aa709ab5d7a39c0d5912554e545b.tar.zst sway-362413bd5031aa709ab5d7a39c0d5912554e545b.zip |
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 { | |||
17 | 17 | ||
18 | struct cmd_results { | 18 | struct cmd_results { |
19 | enum cmd_status status; | 19 | enum cmd_status status; |
20 | 20 | char *input; | |
21 | const char *input; | ||
22 | char *error; | 21 | char *error; |
23 | }; | 22 | }; |
24 | 23 | ||