wayland/registry.c: free() registry at registry_teardown

This commit is contained in:
Sergi Granell 2016-04-30 01:28:19 +02:00
parent ed8c67e290
commit 54c56d2b42
2 changed files with 6 additions and 0 deletions

View file

@ -258,4 +258,5 @@ void registry_teardown(struct registry *registry) {
if (registry->outputs) {
free_flat_list(registry->outputs);
}
free(registry);
}