Archived
1
0
Fork 0

rbtree: move delete_fn from the structure to argument.

This commit is contained in:
Henrik Hautakoski 2011-02-01 11:51:54 +01:00
parent ae3dec912a
commit b5f0c3117c
5 changed files with 10 additions and 14 deletions

View file

@ -136,8 +136,8 @@ int inotify_unmap_path(const char *path) {
void inotify_unmap_all() {
rbtree_free(&tree_path_wd);
rbtree_free(&tree_wd_paths);
rbtree_free(&tree_path_wd, xfree);
rbtree_free(&tree_wd_paths, wd_free);
}
int inotify_map_get_wd(const char *path) {