aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-06 08:43:33 -0700
committerGitHub <noreply@github.com>2018-07-06 08:43:33 -0700
commit817e847749240a0c04756c37c88dc554efc56c9e (patch)
treeef2a716f8ea06ce8bdc63d1a682901b24e5bfcf0 /include
parent55c54bb63b82ee75e1893b48b3ce18f7317c6199 (diff)
parentb3c55dd909b070625c9bfcebcb89cb8463e2ffc9 (diff)
Merge pull request #2206 from martinetd/leaks
Fix a bunch of leaks
Diffstat (limited to 'include')
-rw-r--r--include/sway/commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index 7ca0bda8..6d17144a 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -79,7 +79,7 @@ void free_cmd_results(struct cmd_results *results);
*
* Free the JSON string later on.
*/
-const char *cmd_results_to_json(struct cmd_results *results);
+char *cmd_results_to_json(struct cmd_results *results);
struct cmd_results *add_color(const char *name,
char *buffer, const char *color);