aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorS. Christoffer Eliesen <christoffer@eliesen.no>2015-10-23 13:03:14 +0200
committerS. Christoffer Eliesen <christoffer@eliesen.no>2015-10-23 13:03:14 +0200
commit362413bd5031aa709ab5d7a39c0d5912554e545b (patch)
treec29db67ec97907448084a36909c1e51d74cd8eaf /include
parent88a2ddbe83347c98dcd4bd20f6945e4923ea74ef (diff)
downloadsway-362413bd5031aa709ab5d7a39c0d5912554e545b.tar.xz
commands: cmd_results->input is duplicated/freed.
Diffstat (limited to 'include')
-rw-r--r--include/commands.h3
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;
};