mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue