mirror of
https://github.com/swaywm/sway
synced 2024-11-18 23:14:03 +01:00
Merge pull request #620 from xerpi/fix-registry-memleak
wayland/registry.c: free() registry at registry_teardown
This commit is contained in:
commit
95d5c1e5ed
@ -258,4 +258,5 @@ void registry_teardown(struct registry *registry) {
|
||||
if (registry->outputs) {
|
||||
free_flat_list(registry->outputs);
|
||||
}
|
||||
free(registry);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user