ucx/map.c

changeset 147
1aa598f36872
parent 139
dddb9348ea42
child 173
31a8682fffb7
equal deleted inserted replaced
146:aa376dba1ba8 147:1aa598f36872
198 if (pelm) { 198 if (pelm) {
199 pelm->next = elm->next; 199 pelm->next = elm->next;
200 } else { 200 } else {
201 map->map[slot] = elm->next; 201 map->map[slot] = elm->next;
202 } 202 }
203 map->allocator->free(map->allocator->pool, elm->key.data);
203 map->allocator->free(map->allocator->pool, elm); 204 map->allocator->free(map->allocator->pool, elm);
204 map->count--; 205 map->count--;
205 } 206 }
206 207
207 return data; 208 return data;

mercurial