Changeset 80b5c42 for buddylist.c
- Timestamp:
- Mar 1, 2010, 8:15:53 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 59077f9
- Parents:
- 516c27e
- git-author:
- Anders Kaseorg <andersk@mit.edu> (02/28/10 02:39:52)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (03/01/10 20:15:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
buddylist.c
r35b3518 r80b5c42 29 29 if (!strcasecmp(name, owl_buddy_get_name(b)) && owl_buddy_is_proto_aim(b)) { 30 30 owl_list_remove_element(&(bl->buddies), i); 31 owl_buddy_ free(b);31 owl_buddy_delete(b); 32 32 return(0); 33 33 } … … 131 131 void owl_buddylist_clear(owl_buddylist *bl) 132 132 { 133 owl_list_free_all(&(bl->buddies), (void (*)(void*))owl_buddy_free);133 owl_list_free_all(&(bl->buddies), (void (*)(void *))owl_buddy_delete); 134 134 owl_list_create(&(bl->buddies)); 135 135 } … … 137 137 void owl_buddylist_free(owl_buddylist *bl) 138 138 { 139 owl_list_free_all(&(bl->buddies), (void (*)(void*))owl_buddy_free);139 owl_list_free_all(&(bl->buddies), (void (*)(void *))owl_buddy_delete); 140 140 }
Note: See TracChangeset
for help on using the changeset viewer.