e_pixmap : clear evas_image_data when destroy shared memory 01/131601/2
authorSungbae Park <sb34.park@samsung.com>
Tue, 30 May 2017 06:54:29 +0000 (15:54 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Wed, 31 May 2017 02:06:23 +0000 (02:06 +0000)
Signed-off-by: Sungbae Park <sb34.park@samsung.com>
Change-Id: I74e52d61e300cd141c9f3d2036edaebc6b1f69df

src/bin/e_pixmap.c

index aec0236..03d2c14 100644 (file)
@@ -128,6 +128,9 @@ _e_pixmap_free(E_Pixmap *cp)
      }
    if (cp->data_pool)
      {
      }
    if (cp->data_pool)
      {
+        if (cp->client && cp->client->frame)
+          e_comp_object_clear(cp->client->frame);
+
         wl_shm_pool_unref(cp->data_pool);
         cp->data_pool = NULL;
      }
         wl_shm_pool_unref(cp->data_pool);
         cp->data_pool = NULL;
      }