Changeset bf7aa1d
- Timestamp:
- Mar 7, 2010, 10:26:12 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- d537350
- Parents:
- a1074de
- git-author:
- Anders Kaseorg <andersk@mit.edu> (02/27/10 22:24:07)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (03/07/10 22:26:12)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
dict.c
ra1074de rbf7aa1d 131 131 132 132 /* elefree should free the value as well */ 133 void owl_dict_free_all(owl_dict *d, void (*elefree)(void *)) { 133 void owl_dict_cleanup(owl_dict *d, void (*elefree)(void *)) 134 { 134 135 int i; 135 136 … … 142 143 143 144 void owl_dict_free_simple(owl_dict *d) { 144 owl_dict_ free_all(d, NULL);145 owl_dict_cleanup(d, NULL); 145 146 } 146 147 -
tester.c
ra1074de rbf7aa1d 136 136 137 137 owl_list_cleanup(&l, owl_free); 138 owl_dict_ free_all(&d, NULL);138 owl_dict_cleanup(&d, NULL); 139 139 140 140 /* if (numfailed) printf("*** WARNING: failures encountered with owl_dict\n"); */ -
variable.c
r0e57335 rbf7aa1d 612 612 void owl_variable_dict_cleanup(owl_vardict *d) 613 613 { 614 owl_dict_ free_all(d, (void (*)(void *))owl_variable_delete);614 owl_dict_cleanup(d, (void (*)(void *))owl_variable_delete); 615 615 } 616 616
Note: See TracChangeset
for help on using the changeset viewer.