forked from enlightenment/efl
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:
parent
ec53c8845e
commit
491fdb94b0
|
@ -330,6 +330,8 @@ void eio_monitor_backend_add(Eio_Monitor *monitor)
|
||||||
|
|
||||||
if (!_stream)
|
if (!_stream)
|
||||||
{
|
{
|
||||||
|
free(monitor_path);
|
||||||
|
free(backend);
|
||||||
eio_monitor_fallback_add(monitor);
|
eio_monitor_fallback_add(monitor);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue