diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c index fb34f1814..b4b639a14 100644 --- a/src/bin/e_pixmap.c +++ b/src/bin/e_pixmap.c @@ -620,6 +620,12 @@ e_pixmap_image_clear(E_Pixmap *cp, Eina_Bool cache) wl_resource_destroy(cb); } } + + if (cache) + { + if (cp->resource) wl_buffer_send_release(cp->resource); + cp->resource = NULL; + } #endif break; default: