From 6f97fe1bbf5b8a6084e92e0ac4e7fc773617da8e Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Fri, 17 Aug 2001 00:57:41 +0000 Subject: [PATCH] yay.. leak gone :) SVN revision: 5189 --- src/view.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/view.c b/src/view.c index bf08ae63f..42bf2a895 100644 --- a/src/view.c +++ b/src/view.c @@ -1554,9 +1554,7 @@ e_view_handle_fs_restart(void *data) ops = efsd_ops(2, efsd_op_get_stat(), efsd_op_get_filetype()); v->monitor_id = efsd_start_monitor(e_fs_get_connection(), v->dir, ops, TRUE); - /* FIXME: efsd leaks the ops created by efsd_ops(). */ - /* efsd either need to internally free them or provide a free */ - /* function so the caller app can free them */ + } v->is_listing = 1; } @@ -2183,9 +2181,6 @@ e_view_set_dir(E_View *v, char *dir) ops = efsd_ops(2, efsd_op_get_stat(), efsd_op_get_filetype()); v->monitor_id = efsd_start_monitor(e_fs_get_connection(), v->dir, ops, TRUE); - /* FIXME: efsd leaks the ops created by efsd_ops(). */ - /* efsd either need to internally free them or provide a free */ - /* function so the caller app can free them */ } printf("monitor id for %s = %i\n", v->dir, v->monitor_id); v->is_listing = 1;