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

This commit is contained in:
Sergi Granell 2016-04-30 11:10:46 +02:00
parent be6c18df94
commit 6063fed8b7

View file

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