fix: miss free arg data in ipc dispatch

This commit is contained in:
DreamMaoMao 2025-08-16 11:29:01 +08:00
parent d4ecf1bac3
commit 78913c0721

View file

@ -264,6 +264,13 @@ void dwl_ipc_output_dispatch(struct wl_client *client,
if (func) { if (func) {
func(&arg); func(&arg);
} }
if (arg.v)
free(arg.v);
if (arg.v2)
free(arg.v2);
if (arg.v3)
free(arg.v3);
} }
void dwl_ipc_output_release(struct wl_client *client, void dwl_ipc_output_release(struct wl_client *client,