diff options
-rw-r--r-- | sway/config.c | 1 |
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) { line_number++; line = strip_whitespace(line); if (line[0] == '#') { + free(line); continue; } struct cmd_results *res = config_command(line, block); |