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

wayland/registry.c: free() registry at registry_teardown
This commit is contained in:
Mikkel Oscar Lyderik 2016-04-30 11:15:35 +02:00
commit 95d5c1e5ed

View file

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