diff options
author | Mikkel Oscar Lyderik <mikkeloscar@users.noreply.github.com> | 2016-04-30 11:15:35 +0200 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@users.noreply.github.com> | 2016-04-30 11:15:35 +0200 |
commit | 95d5c1e5ed2f36eefd57d8d02e3d7cc1f03b0bbf (patch) | |
tree | 5666ec93b76a220d09e4d168ae468319a3f046b9 | |
parent | be6c18df9433b5042ab1d22d983df48bb3cf7276 (diff) | |
parent | 6063fed8b7a6eb02ac539f75e26730d3c046f932 (diff) |
Merge pull request #620 from xerpi/fix-registry-memleak
wayland/registry.c: free() registry at registry_teardown
-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) { if (registry->outputs) { free_flat_list(registry->outputs); } + free(registry); } |