e_plane: clear info of plane when unset surface
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 12 Jun 2017 04:33:57 +0000 (13:33 +0900)
committerBoram Park <boram1288.park@samsung.com>
Wed, 5 Jul 2017 02:56:35 +0000 (11:56 +0900)
Change-Id: I90ff735bcc281e761da7d7c50bac8c2724113555

src/bin/e_plane.c

index b3c9f781ae70a865127443b8da09ef74ca71a624..0ef984ac287d25476572371ed91293b7196d17af 100644 (file)
@@ -71,6 +71,8 @@ _e_plane_surface_unset(E_Plane *plane)
    if (plane_trace_debug)
       ELOGF("E_PLANE", "Unset   Plane(%p) zpos(%d)", NULL, NULL, plane, plane->zpos);
 
+   CLEAR(plane->info);
+
    error = tdm_layer_unset_buffer(tlayer);
    if (error != TDM_ERROR_NONE)
      {