diff --git a/src/ext-protocol/dwl-ipc.h b/src/ext-protocol/dwl-ipc.h index 67f96f1..dc7dc24 100644 --- a/src/ext-protocol/dwl-ipc.h +++ b/src/ext-protocol/dwl-ipc.h @@ -264,6 +264,13 @@ void dwl_ipc_output_dispatch(struct wl_client *client, if (func) { 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,