diff options
author | 2016-04-30 11:15:35 +0200 | |
---|---|---|
committer | 2016-04-30 11:15:35 +0200 | |
commit | 95d5c1e5ed2f36eefd57d8d02e3d7cc1f03b0bbf (patch) | |
tree | 5666ec93b76a220d09e4d168ae468319a3f046b9 /wayland/registry.c | |
parent | Merge pull request #618 from neosilky/uninit (diff) | |
parent | wayland/registry.c: free() registry at registry_teardown (diff) | |
download | sway-95d5c1e5ed2f36eefd57d8d02e3d7cc1f03b0bbf.tar.gz sway-95d5c1e5ed2f36eefd57d8d02e3d7cc1f03b0bbf.tar.zst sway-95d5c1e5ed2f36eefd57d8d02e3d7cc1f03b0bbf.zip |
Merge pull request #620 from xerpi/fix-registry-memleak
wayland/registry.c: free() registry at registry_teardown
Diffstat (limited to 'wayland/registry.c')
-rw-r--r-- | wayland/registry.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wayland/registry.c b/wayland/registry.c index 89756292..46814bb7 100644 --- a/wayland/registry.c +++ b/wayland/registry.c | |||
@@ -258,4 +258,5 @@ void registry_teardown(struct registry *registry) { | |||
258 | if (registry->outputs) { | 258 | if (registry->outputs) { |
259 | free_flat_list(registry->outputs); | 259 | free_flat_list(registry->outputs); |
260 | } | 260 | } |
261 | free(registry); | ||
261 | } | 262 | } |