mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-21 05:34:05 -04:00
fix: Fix memory leaks
This commit is contained in:
parent
bdcfa1d542
commit
f9dcaaae77
1 changed files with 1 additions and 1 deletions
|
|
@ -1965,6 +1965,7 @@ void cleanupmon(struct wl_listener *listener, void *data) {
|
||||||
wlr_scene_node_destroy(&m->blur->node);
|
wlr_scene_node_destroy(&m->blur->node);
|
||||||
m->blur = NULL;
|
m->blur = NULL;
|
||||||
}
|
}
|
||||||
|
free(m->pertag);
|
||||||
free(m);
|
free(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -4569,7 +4570,6 @@ void setup(void) {
|
||||||
input_method_manager = wlr_input_method_manager_v2_create(dpy);
|
input_method_manager = wlr_input_method_manager_v2_create(dpy);
|
||||||
text_input_manager = wlr_text_input_manager_v3_create(dpy);
|
text_input_manager = wlr_text_input_manager_v3_create(dpy);
|
||||||
|
|
||||||
dwl_input_method_relay = calloc(1, sizeof(*dwl_input_method_relay));
|
|
||||||
dwl_input_method_relay = dwl_im_relay_create();
|
dwl_input_method_relay = dwl_im_relay_create();
|
||||||
|
|
||||||
wl_global_create(dpy, &zdwl_ipc_manager_v2_interface, 2, NULL,
|
wl_global_create(dpy, &zdwl_ipc_manager_v2_interface, 2, NULL,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue