sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 33b24736c78d9993a26d295ea3e56ad77d6f1390
parent 5af4e747d311a5b4059561078976c167df057bd8
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon,  4 Jan 2016 19:39:33 -0500

Free wordexp_t in config.c:get_config_path

Thanks @jollywho

Diffstat:
Msway/config.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/sway/config.c b/sway/config.c @@ -174,9 +174,11 @@ static char *get_config_path(void) { if (wordexp(config_paths[i], &p, 0) == 0) { path = p.we_wordv[0]; if (file_exists(path)) { + wordfree(&p); return path; } } + wordfree(&p); } return NULL; // Not reached