if (drm_fd >=0) close(drm_fd);
}
-/* Currently no callers, but that will change...
static void
_buffer_manager_destroy(void)
{
buffer_manager->destroyed = EINA_TRUE;
_buffer_manager_deref();
}
-*/
static Buffer_Handle *
_buffer_manager_alloc(const char *name, int w, int h, unsigned long *stride, int32_t *fd)
Ecore_Wl2_Display *ewd = data;
zwp_linux_buffer_params_v1_destroy(params);
+ _buffer_manager_deref();
+ _buffer_manager_destroy();
ewd->wl.dmabuf = NULL;
}
return;
fail:
+ _buffer_manager_destroy();
ewd->wl.dmabuf = NULL;
}