From 6063fed8b7a6eb02ac539f75e26730d3c046f932 Mon Sep 17 00:00:00 2001 From: Sergi Granell Date: Sat, 30 Apr 2016 11:10:46 +0200 Subject: [PATCH] wayland/registry.c: free() registry at registry_teardown --- wayland/registry.c | 1 + 1 file changed, 1 insertion(+) 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); }