Permalink
Browse files

Rename owl_buddylist_free to owl_buddylist_cleanup.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
  • Loading branch information...
1 parent a038c2a commit 1c4b4ca38b5f4468d1ef6820e1b142709dbdc91d @andersk andersk committed Feb 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 buddylist.c
View
@@ -134,7 +134,7 @@ void owl_buddylist_clear(owl_buddylist *bl)
owl_list_create(&(bl->buddies));
}
-void owl_buddylist_free(owl_buddylist *bl)
+void owl_buddylist_cleanup(owl_buddylist *bl)
{
owl_list_cleanup(&(bl->buddies), (void (*)(void *))owl_buddy_delete);
}

0 comments on commit 1c4b4ca

Please sign in to comment.