sway

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

commit 1a8a42f372e1bed146623e3357dbb12d8947e654
parent 26752932003145c89a0cd8d39c9944d6f5917837
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu,  1 Dec 2016 20:39:35 -0500

Memory leak

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

diff --git a/sway/security.c b/sway/security.c @@ -15,6 +15,7 @@ enum secure_feature get_feature_policy(pid_t pid) { FEATURE_FULLSCREEN | FEATURE_KEYBOARD | FEATURE_MOUSE; ssize_t len = readlink(path, link, sizeof(link)); + free(path); if (len < 0) { sway_log(L_INFO, "WARNING: unable to read %s for security check. Using default policy.",