diff options
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands.c b/sway/commands.c index 7ee8c558..21ff5c7f 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -129,7 +129,7 @@ static bool cmd_bindsym(struct sway_config *config, int argc, char **argv) { | |||
129 | *key = sym; | 129 | *key = sym; |
130 | list_add(binding->keys, key); | 130 | list_add(binding->keys, key); |
131 | } | 131 | } |
132 | list_free(split); | 132 | free_flat_list(split); |
133 | 133 | ||
134 | // TODO: Check if there are other commands with this key binding | 134 | // TODO: Check if there are other commands with this key binding |
135 | struct sway_mode *mode = config->current_mode; | 135 | struct sway_mode *mode = config->current_mode; |
@@ -268,7 +268,7 @@ static bool cmd_floating_mod(struct sway_config *config, int argc, char **argv) | |||
268 | } | 268 | } |
269 | } | 269 | } |
270 | } | 270 | } |
271 | list_free(split); | 271 | free_flat_list(split); |
272 | if (!config->floating_mod) { | 272 | if (!config->floating_mod) { |
273 | sway_log(L_ERROR, "bindsym - unknown keys %s", argv[0]); | 273 | sway_log(L_ERROR, "bindsym - unknown keys %s", argv[0]); |
274 | return false; | 274 | return false; |