Permalink
Browse files

Rename owl_style_free to owl_style_cleanup.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
  • Loading branch information...
1 parent a44cd91 commit b585ba2d81bdc98b7019fc8fbbe9e5b6b6da7c9e @andersk andersk committed Feb 28, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 style.c
View
@@ -86,14 +86,14 @@ int owl_style_validate(const owl_style *s) {
return 0;
}
-void owl_style_free(owl_style *s)
+void owl_style_cleanup(owl_style *s)
{
if (s->name) owl_free(s->name);
SvREFCNT_dec(s->perlobj);
}
void owl_style_delete(owl_style *s)
{
- owl_style_free(s);
+ owl_style_cleanup(s);
owl_free(s);
}

0 comments on commit b585ba2

Please sign in to comment.