ilmControl: Fix incorrect resource free.
authorNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Fri, 8 Aug 2014 00:53:33 +0000 (09:53 +0900)
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Thu, 21 Aug 2014 01:06:26 +0000 (10:06 +0900)
Even if LayerManagerControl create a layer, it is destoryed when it
exits.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c

index 5eeb98d..e47ee2c 100644 (file)
@@ -964,7 +964,6 @@ static void destroy_control_resources(void)
             wl_list_for_each_safe(l, n, &ctx->wl.list_layer, link) {
                 wl_list_remove(&l->link);
                 wl_list_remove(&l->order.link);
-                ivi_controller_layer_destroy(l->controller, 0);
                 free(l);
             }
         }