diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c index ed8552ec1..1ae242163 100644 --- a/src/bin/e_pixmap.c +++ b/src/bin/e_pixmap.c @@ -97,7 +97,7 @@ _e_pixmap_free(E_Pixmap *cp) break; case E_PIXMAP_TYPE_WL: #if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY) - /* NB: No-Op. Nothing to free. image data no longer memcpy'd */ + if (cp->resource) wl_resource_set_user_data(cp->resource, NULL); #endif break; default: