sway

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

commit cf7c6c5822c0eb77e8f9372935ca9e2ff740f138
parent d5ad8c9036f37576af94c6cbbe79e68415bb7e22
Author: Hummer12007 <hilobakho@gmail.com>
Date:   Sun, 17 Jul 2016 00:00:51 +0300

Fix a memory leak
Diffstat:
Msway/ipc-json.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sway/ipc-json.c b/sway/ipc-json.c @@ -199,6 +199,7 @@ json_object *ipc_json_get_version() { json_object_object_add(version, "major", json_object_new_int(0)); json_object_object_add(version, "minor", json_object_new_int(0)); json_object_object_add(version, "patch", json_object_new_int(1)); + free(full_version); #else json_object_object_add(version, "human_readable", json_object_new_string("version not found")); json_object_object_add(version, "major", json_object_new_int(0));