- Timestamp:
- Feb 11, 2011, 4:31:42 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- d4927a7
- Parents:
- 35b6eb9
- git-author:
- Anders Kaseorg <andersk@mit.edu> (08/27/09 00:52:41)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (02/11/11 16:31:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dict.c
r35b6eb9 rddbbcffa 121 121 found = _owl_dict_find_pos(d, k, &pos); 122 122 if (!found) return(NULL); 123 owl_free(d->els[pos].k);123 g_free(d->els[pos].k); 124 124 v = d->els[pos].v; 125 125 for (i=pos; i<d->size-1; i++) { … … 136 136 137 137 for (i=0; i<d->size; i++) { 138 owl_free(d->els[i].k);138 g_free(d->els[i].k); 139 139 if (elefree) (elefree)(d->els[i].v); 140 140 } 141 if (d->els) owl_free(d->els);141 if (d->els) g_free(d->els); 142 142 } 143 143
Note: See TracChangeset
for help on using the changeset viewer.