yay.. leak gone :)

SVN revision: 5189
This commit is contained in:
Carsten Haitzler 2001-08-17 00:57:41 +00:00
parent b6571f600c
commit 6f97fe1bbf
1 changed files with 1 additions and 6 deletions

View File

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