Permalink
Browse files

Inline owl_dict_free_simple.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
  • Loading branch information...
andersk committed Feb 28, 2010
1 parent bf7aa1d commit d53735037c51cf5abac8fd343a28c2a78bde3065
Showing with 1 addition and 5 deletions.
  1. +0 −4 dict.c
  2. +1 −1 filterelement.c
View
4 dict.c
@@ -141,7 +141,3 @@ void owl_dict_cleanup(owl_dict *d, void (*elefree)(void *))
if (d->els) owl_free(d->els);
}
-void owl_dict_free_simple(owl_dict *d) {
- owl_dict_cleanup(d, NULL);
-}
-
View
@@ -295,7 +295,7 @@ int owl_filterelement_is_toodeep(const owl_filter *f, const owl_filterelement *f
rv = _owl_filterelement_is_toodeep(fe, &filters);
- owl_dict_free_simple(&filters);
+ owl_dict_cleanup(&filters, NULL);
return rv;
}

0 comments on commit d537350

Please sign in to comment.