diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-18 17:52:50 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-12-18 17:52:50 -0500 |
commit | 8b4d81114a6e25be9f8f7c7bca17e55dbebd675d (patch) | |
tree | 903c2aee123885b59f7c00335acc8ff6d23d79e9 | |
parent | f2985000f364693fbeb832df1c4fd468c608e40f (diff) |
fix memory leak in swaymsg
-rw-r--r-- | swaymsg/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c index 18f17a59..dfc175a8 100644 --- a/swaymsg/main.c +++ b/swaymsg/main.c @@ -335,7 +335,7 @@ int main(int argc, char **argv) { } else { pretty_print(type, obj); } - free(obj); + json_object_put(obj); } } close(socketfd); |