summaryrefslogtreecommitdiff
path: root/src/lib/eio
diff options
context:
space:
mode:
authorVivek Ellur <vivek.ellur@samsung.com>2015-10-08 12:16:23 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-10-09 10:00:32 +0200
commit491fdb94b0c85aff965662a2152863cd3bd19d11 (patch)
tree8db1e8856ad817401f5a625260730d48058cdc72 /src/lib/eio
parentec53c8845e8d7319bbbad4fb7aa0fe3fc9bcac2a (diff)
eio_monitor: fix memory leak issue
Summary: @fix Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com> Reviewers: cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3161 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/eio')
-rw-r--r--src/lib/eio/eio_monitor_cocoa.c2
1 files changed, 2 insertions, 0 deletions
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)
330 330
331 if (!_stream) 331 if (!_stream)
332 { 332 {
333 free(monitor_path);
334 free(backend);
333 eio_monitor_fallback_add(monitor); 335 eio_monitor_fallback_add(monitor);
334 return; 336 return;
335 } 337 }