diff options
-rw-r--r-- | wayland/registry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wayland/registry.c b/wayland/registry.c index a7eb89d1..3c869d25 100644 --- a/wayland/registry.c +++ b/wayland/registry.c | |||
@@ -3,6 +3,7 @@ | |||
3 | #include <string.h> | 3 | #include <string.h> |
4 | #include "wayland-desktop-shell-client-protocol.h" | 4 | #include "wayland-desktop-shell-client-protocol.h" |
5 | #include "client/registry.h" | 5 | #include "client/registry.h" |
6 | #include "stringop.h" | ||
6 | #include "log.h" | 7 | #include "log.h" |
7 | 8 | ||
8 | static void display_handle_mode(void *data, struct wl_output *wl_output, | 9 | static void display_handle_mode(void *data, struct wl_output *wl_output, |
@@ -110,7 +111,6 @@ void registry_teardown(struct registry *registry) { | |||
110 | wl_display_disconnect(registry->display); | 111 | wl_display_disconnect(registry->display); |
111 | } | 112 | } |
112 | if (registry->outputs) { | 113 | if (registry->outputs) { |
113 | // TODO: Free the outputs themselves | 114 | free_flat_list(registry->outputs); |
114 | list_free(registry->outputs); | ||
115 | } | 115 | } |
116 | } | 116 | } |