e_pixmap : clear evas_image_data when destroy shared memory
authorSungbae Park <sb34.park@samsung.com>
Tue, 30 May 2017 06:54:29 +0000 (15:54 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Thu, 1 Jun 2017 05:18:24 +0000 (14:18 +0900)
Signed-off-by: Sungbae Park <sb34.park@samsung.com>
Change-Id: I74e52d61e300cd141c9f3d2036edaebc6b1f69df

src/bin/e_pixmap.c

index aec0236ea9129afaee143b0d902ffd27e056a64c..03d2c14ef3c14153349c8278ea7974b82e8e66b9 100644 (file)
@@ -128,6 +128,9 @@ _e_pixmap_free(E_Pixmap *cp)
      }
    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;
      }