aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-19 08:24:39 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-19 08:24:39 -0400
commit0f29f048167739c6f92d241d2aacbfcf6972c39c (patch)
tree2c3a6b1515aa09390424d69950752ee8122ba672 /sway
parent1ec8e082a2693418b79071e052e45a040baab009 (diff)
downloadsway-0f29f048167739c6f92d241d2aacbfcf6972c39c.tar.xz
Set test to NULL when appropriate
Thanks @SyedAmerGilani
Diffstat (limited to 'sway')
-rw-r--r--sway/config.c1
1 files changed, 1 insertions, 0 deletions
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);
}