diff options
author | random human <random.bored.human@gmail.com> | 2018-09-03 03:27:56 +0530 |
---|---|---|
committer | random human <random.bored.human@gmail.com> | 2018-09-03 03:27:56 +0530 |
commit | de16defb21801399d2f4715dd5820d2f5d2a9deb (patch) | |
tree | b7d1013688452ca15e798f53eb3d5dc9525f84c4 | |
parent | ef5df78a271e1450311c6ca329b32156ce4f49e9 (diff) |
Release registry pointer in examples/idle
-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"); |