[PATCH] server: Release additional_shm_formats array at display destruction
Tomeu Vizoso
tomeu at tomeuvizoso.net
Thu Aug 8 01:31:56 PDT 2013
---
src/wayland-server.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/wayland-server.c b/src/wayland-server.c
index 1498d51..771309f 100644
--- a/src/wayland-server.c
+++ b/src/wayland-server.c
@@ -746,6 +746,8 @@ wl_display_destroy(struct wl_display *display)
wl_list_for_each_safe(global, gnext, &display->global_list, link)
free(global);
+ wl_array_release(&display->additional_shm_formats);
+
free(display);
}
--
1.8.3.1
More information about the wayland-devel
mailing list