sway

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

commit c225bcaceeda6902a56481962398f5a528bcdf74
parent 235cfd93b22c24f851d6974a9b56bfe84023ac00
Author: Daniel Lockyer <thisisdaniellockyer@gmail.com>
Date:   Fri, 29 Apr 2016 18:06:21 +0100

sway/config.c: config_home is the result of a malloc but was never freed

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

diff --git a/sway/config.c b/sway/config.c @@ -267,6 +267,7 @@ static char *get_config_path(void) { strcpy(config_home, home); strcat(config_home, "/.config"); setenv("XDG_CONFIG_HOME", config_home, 1); + free(config_home); sway_log(L_DEBUG, "Set XDG_CONFIG_HOME to %s", config_home); }