mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 00:16:22 +01:00
fix memory leak in swaymsg
This commit is contained in:
parent
f2985000f3
commit
8b4d81114a
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ int main(int argc, char **argv) {
|
||||||
} else {
|
} else {
|
||||||
pretty_print(type, obj);
|
pretty_print(type, obj);
|
||||||
}
|
}
|
||||||
free(obj);
|
json_object_put(obj);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close(socketfd);
|
close(socketfd);
|
||||||
|
|
Loading…
Reference in a new issue