Merge pull request #620 from xerpi/fix-registry-memleak

wayland/registry.c: free() registry at registry_teardown
master
Mikkel Oscar Lyderik 9 years ago
commit 95d5c1e5ed

@ -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);
} }

Loading…
Cancel
Save