diff --git a/sway/config.c b/sway/config.c index e74bfb65..f38e37b6 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); }