yay.. leak gone :)


			
			
				devs/princeamd/enlightenment-0.17-elive
			
			
		
Carsten Haitzler 22 years ago
parent b6571f600c
commit 6f97fe1bbf
  1. 7
      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;

Loading…
Cancel
Save