aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_xdg_activation_v1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_xdg_activation_v1.c b/types/wlr_xdg_activation_v1.c
index 7fcb50c3..0f44aced 100644
--- a/types/wlr_xdg_activation_v1.c
+++ b/types/wlr_xdg_activation_v1.c
@@ -339,7 +339,7 @@ struct wlr_xdg_activation_v1 *wlr_xdg_activation_v1_create(
&xdg_activation_v1_interface, XDG_ACTIVATION_V1_VERSION, activation,
activation_bind);
if (activation->global == NULL) {
- free(activation->global);
+ free(activation);
return NULL;
}