From 362413bd5031aa709ab5d7a39c0d5912554e545b Mon Sep 17 00:00:00 2001 From: "S. Christoffer Eliesen" Date: Fri, 23 Oct 2015 13:03:14 +0200 Subject: commands: cmd_results->input is duplicated/freed. --- include/commands.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') 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; }; -- cgit v1.2.3