1
1
mirror of https://github.com/swaywm/sway synced 2024-11-19 03:24:39 +01:00

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

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