cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=491fdb94b0c85aff965662a2152863cd3bd19d11

commit 491fdb94b0c85aff965662a2152863cd3bd19d11
Author: Vivek Ellur <vivek.el...@samsung.com>
Date:   Thu Oct 8 12:16:23 2015 +0200

    eio_monitor: fix memory leak issue
    
    Summary:
    @fix
    
    Signed-off-by: Vivek Ellur <vivek.el...@samsung.com>
    
    Reviewers: cedric
    
    Reviewed By: cedric
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D3161
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/eio/eio_monitor_cocoa.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/eio/eio_monitor_cocoa.c b/src/lib/eio/eio_monitor_cocoa.c
index 8cadeaf..d491de4 100644
--- a/src/lib/eio/eio_monitor_cocoa.c
+++ b/src/lib/eio/eio_monitor_cocoa.c
@@ -330,6 +330,8 @@ void eio_monitor_backend_add(Eio_Monitor *monitor)
 
    if (!_stream)
      {
+        free(monitor_path);
+        free(backend);
         eio_monitor_fallback_add(monitor);
         return;
      }

-- 


Reply via email to