diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-19 08:24:39 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-19 08:24:39 -0400 |
commit | 0f29f048167739c6f92d241d2aacbfcf6972c39c (patch) | |
tree | 2c3a6b1515aa09390424d69950752ee8122ba672 /sway | |
parent | 1ec8e082a2693418b79071e052e45a040baab009 (diff) | |
download | sway-0f29f048167739c6f92d241d2aacbfcf6972c39c.tar.xz |
Set test to NULL when appropriate
Thanks @SyedAmerGilani
Diffstat (limited to 'sway')
-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 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); } |