mirror of
https://github.com/i3/i3.git
synced 2026-02-04 12:15:35 +00:00
e285b3c47b2fc7a4cdaba9a427d2958410e64620
git bisect:c7344095ecis the first bad commit ```c7344095ec(HEAD) Fix leak sanitizer memleaks (#6520) i3bar/src/ipc.c | 5 +++-- i3bar/src/workspaces.c | 58 +++++++++++++++++++++++++++++++++------------------------- i3bar/src/xcb.c | 1 + include/libi3.h | 10 ++++------ src/config_directives.c | 1 + src/config_parser.c | 85 +++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------ src/load_layout.c | 2 +- src/restore_layout.c | 4 ++++ 8 files changed, 96 insertions(+), 70 deletions(-) ``` To handle race conditions in the test, I tested with: ```diff diff --git a/i3bar/src/workspaces.c b/i3bar/src/workspaces.c index d712750d..0c481d18 100644 --- a/i3bar/src/workspaces.c +++ b/i3bar/src/workspaces.c @@ -286,6 +286,8 @@ void parse_workspaces_json(const unsigned char *json, const size_t size) { } } + sleep(1); + yajl_free(handle); FREE(params.cur_key); } ``` fixes https://github.com/i3/i3/issues/6560
i3: A tiling window manager
i3 is a tiling window manager for X11.
For more information about i3, please see the project's website and online documentation.
For information about contributing to i3, please see CONTRIBUTING.md.
Description
Languages
C
58%
Perl
36.4%
Raku
2.6%
Ruby
1.2%
Meson
0.7%
Other
1%