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>
This commit is contained in:
Vivek Ellur 2015-10-08 12:16:23 +02:00 committed by Cedric BAIL
parent ec53c8845e
commit 491fdb94b0
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}