weston-ivi-shell: Fix illegal surface free.
authorNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Mon, 28 Jul 2014 09:00:19 +0000 (18:00 +0900)
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Thu, 21 Aug 2014 01:08:14 +0000 (10:08 +0900)
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
weston-ivi-shell/src/ivi-controller.c

index d781f2d..eddcf08 100755 (executable)
@@ -188,9 +188,6 @@ destroy_ivicontroller_surface(struct wl_resource *resource)
         if (ivisurf->can_be_removed) {
             free(ivisurf);
         }
-        else {
-            ivisurf->can_be_removed = 1;
-        }
     }
 }