diff options
author | emersion <contact@emersion.fr> | 2018-09-03 08:26:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-03 08:26:59 +0200 |
commit | d22431d969d055b4ef82b21daa6f7b6dfb3e1f2b (patch) | |
tree | 3521f599cb0f7e16e7c659726ca7fbd0da8dde03 /examples/idle.c | |
parent | 6946134883bcbb419f898cbbc87bfa345d070f3c (diff) | |
parent | 9f511ae942b27c0012cfa39d9950326d7e79f120 (diff) |
Merge pull request #1228 from arandomhuman/misc-mem
Miscellaneous memory leak fixes
Diffstat (limited to 'examples/idle.c')
-rw-r--r-- | examples/idle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/idle.c b/examples/idle.c index 87a03924..3e1565ca 100644 --- a/examples/idle.c +++ b/examples/idle.c @@ -129,6 +129,7 @@ int main(int argc, char *argv[]) { wl_registry_add_listener(registry, ®istry_listener, NULL); wl_display_dispatch(display); wl_display_roundtrip(display); + free(registry); if (idle_manager == NULL) { fprintf(stderr, "display doesn't support idle protocol\n"); |