mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-10 23:50:41 -04:00
fix: Fix memory leaks
This commit is contained in:
parent
eff7a29790
commit
5f440e5fd5
1 changed files with 3 additions and 0 deletions
|
|
@ -2535,6 +2535,9 @@ void cleanupmon(struct wl_listener *listener, void *data) {
|
|||
m->skip_frame_timeout = NULL;
|
||||
}
|
||||
m->wlr_output->data = NULL;
|
||||
|
||||
for (uint32_t t = 0; t < LENGTH(tags) + 1; t++)
|
||||
dwindle_free_tree(m->pertag->dwindle_root[t]);
|
||||
free(m->pertag);
|
||||
free(m);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue