ilm_Client: fix display connection leak.
authorNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Thu, 11 Sep 2014 09:51:08 +0000 (18:51 +0900)
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Mon, 15 Sep 2014 01:30:30 +0000 (10:30 +0900)
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
ivi-layermanagement-api/ilmClient/src/ilm_client_wayland_platform.c

index 0e33aaa..254e5f9 100644 (file)
@@ -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;
     }
 }