raster pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=1fa7d4a07bfffef77f7afbd4cd9b18141dddb543
commit 1fa7d4a07bfffef77f7afbd4cd9b18141dddb543 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Tue Aug 6 12:35:11 2019 +0100 wl dnd - fix theoretical buf leak coverity found fix CID 1403957 --- src/modules/xwayland/dnd.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/xwayland/dnd.c b/src/modules/xwayland/dnd.c index ce7ac29ed..b8beb162c 100644 --- a/src/modules/xwayland/dnd.c +++ b/src/modules/xwayland/dnd.c @@ -388,6 +388,12 @@ _xwl_pipe_read(void *data, Ecore_Fd_Handler *fdh) } if (len) p->buf = eina_binbuf_manage_new(buf, len, 0); + else + { + _incr_update(p, 0); + free(buf); + return ECORE_CALLBACK_RENEW; + } _incr_upload(p); if (p->incr) ecore_main_fd_handler_active_set(p->fdh, 0); --