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:
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…
Reference in New Issue
Block a user