1
0
Fork 0
mirror of https://github.com/swaywm/sway.git synced 2025-04-05 21:16:19 +00:00

fix memory leak in swaymsg

This commit is contained in:
Tony Crisci 2017-12-18 17:52:50 -05:00
parent f2985000f3
commit 8b4d81114a

View file

@ -335,7 +335,7 @@ int main(int argc, char **argv) {
} else {
pretty_print(type, obj);
}
free(obj);
json_object_put(obj);
}
}
close(socketfd);