xdg-activation-v1: fix wlr_xdg_activation_v1_create error path
Simon Ser
2 years ago
338 | 338 |
&xdg_activation_v1_interface, XDG_ACTIVATION_V1_VERSION, activation,
|
339 | 339 |
activation_bind);
|
340 | 340 |
if (activation->global == NULL) {
|
341 | |
free(activation->global);
|
|
341 |
free(activation);
|
342 | 342 |
return NULL;
|
343 | 343 |
}
|
344 | 344 |
|