diff --git a/sway/config.c b/sway/config.c index e74bfb654..f38e37b63 100644 --- a/sway/config.c +++ b/sway/config.c @@ -124,6 +124,7 @@ static char *get_config_path() { return test; } free(test); + test = NULL; } free_flat_list(paths); }