From d0578528443befcbacbe6406a5ff1da9a3d2ea08 Mon Sep 17 00:00:00 2001 From: Nobuhiko Tanibata Date: Thu, 11 Sep 2014 18:51:08 +0900 Subject: [PATCH] ilm_Client: fix display connection leak. Signed-off-by: Nobuhiko Tanibata --- ivi-layermanagement-api/ilmClient/src/ilm_client_wayland_platform.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ivi-layermanagement-api/ilmClient/src/ilm_client_wayland_platform.c b/ivi-layermanagement-api/ilmClient/src/ilm_client_wayland_platform.c index 0e33aaa..254e5f9 100644 --- a/ivi-layermanagement-api/ilmClient/src/ilm_client_wayland_platform.c +++ b/ivi-layermanagement-api/ilmClient/src/ilm_client_wayland_platform.c @@ -327,6 +327,8 @@ destroy_client_resouses(void) if (ctx->registry_for_output) { wl_registry_destroy(ctx->registry_for_output); ctx->registry_for_output = NULL; + wl_display_disconnect(ctx->display_for_output); + ctx->display_for_output = NULL; } } -- 2.7.4