diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-06 08:43:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-06 08:43:33 -0700 |
commit | 817e847749240a0c04756c37c88dc554efc56c9e (patch) | |
tree | ef2a716f8ea06ce8bdc63d1a682901b24e5bfcf0 /include | |
parent | Merge pull request #2182 from RyanDwyer/lockscreen-performance (diff) | |
parent | Merge branch 'master' into leaks (diff) | |
download | sway-817e847749240a0c04756c37c88dc554efc56c9e.tar.gz sway-817e847749240a0c04756c37c88dc554efc56c9e.tar.zst sway-817e847749240a0c04756c37c88dc554efc56c9e.zip |
Merge pull request #2206 from martinetd/leaks
Fix a bunch of leaks
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 2 |
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); | |||
79 | * | 79 | * |
80 | * Free the JSON string later on. | 80 | * Free the JSON string later on. |
81 | */ | 81 | */ |
82 | const char *cmd_results_to_json(struct cmd_results *results); | 82 | char *cmd_results_to_json(struct cmd_results *results); |
83 | 83 | ||
84 | struct cmd_results *add_color(const char *name, | 84 | struct cmd_results *add_color(const char *name, |
85 | char *buffer, const char *color); | 85 | char *buffer, const char *color); |