cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=d64f50acfc01400e7465cf0288df09dfce7c3a94
commit d64f50acfc01400e7465cf0288df09dfce7c3a94 Author: Vivek Ellur <vivek.el...@samsung.com> Date: Thu Oct 8 12:17:29 2015 +0200 eio_monitor: fix memory leak in eio monitor module Summary: Free the allocated memory in eio monitor win32 module. Signed-off-by: Vivek Ellur <vivek.el...@samsung.com> Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3160 Signed-off-by: Cedric BAIL <ced...@osg.samsung.com> --- src/lib/eio/eio_monitor_win32.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/eio/eio_monitor_win32.c b/src/lib/eio/eio_monitor_win32.c index 06a5f0c..43c38f3 100644 --- a/src/lib/eio/eio_monitor_win32.c +++ b/src/lib/eio/eio_monitor_win32.c @@ -86,7 +86,10 @@ _eio_monitor_win32_cb(void *data, Ecore_Win32_Handler *wh EINA_UNUSED) return 0; if (fni->FileName[0] == 0) - return ECORE_CALLBACK_CANCEL; + { + free(wname); + return ECORE_CALLBACK_CANCEL; + } memcpy(wname, fni->FileName, fni->FileNameLength); wname[fni->FileNameLength / sizeof(wchar_t)] = 0; --