aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index debd480a..d8e1e938 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -285,6 +285,7 @@ bool read_config(FILE *file, bool is_active) {
285 line_number++; 285 line_number++;
286 line = strip_whitespace(line); 286 line = strip_whitespace(line);
287 if (line[0] == '#') { 287 if (line[0] == '#') {
288 free(line);
288 continue; 289 continue;
289 } 290 }
290 struct cmd_results *res = config_command(line, block); 291 struct cmd_results *res = config_command(line, block);