e_comp_wl_rsm: fixed wrong deletion of ec key in surface_hash 70/167570/1 accepted/tizen/4.0/unified/20180119.060713 submit/tizen_4.0/20180118.082159
authorGwanglim Lee <gl77.lee@samsung.com>
Thu, 18 Jan 2018 07:41:39 +0000 (16:41 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Thu, 18 Jan 2018 08:08:59 +0000 (17:08 +0900)
Change-Id: I2ca811de79d506e643a14364273e5af27305fc16

src/bin/e_comp_wl_rsm.c

index 8846f03bea833a87c029185df0f81427604d87c6..36e0819e2b58d80680da7d87cc9a00df54571c47 100644 (file)
@@ -2854,7 +2854,7 @@ _e_comp_wl_remote_cb_client_del(void *data, E_Client *ec)
    remote_surface = eina_hash_find(_rsm->bind_surface_hash, &ec);
    if (remote_surface)
      {
-        eina_hash_del(_rsm->surface_hash, &ec, remote_surface);
+        eina_hash_del(_rsm->bind_surface_hash, &ec, remote_surface);
         if (remote_surface->bind_ec == ec)
           _remote_surface_bind_client(remote_surface, NULL);
      }