diff --git a/wayland/registry.c b/wayland/registry.c index 89756292..46814bb7 100644 --- a/wayland/registry.c +++ b/wayland/registry.c @@ -258,4 +258,5 @@ void registry_teardown(struct registry *registry) { if (registry->outputs) { free_flat_list(registry->outputs); } + free(registry); }