286:85f55abea563 | 287:98da78a1e69a |
---|---|
87 void *val; | 87 void *val; |
88 UCX_MAP_FOREACH(key, val, iter) { | 88 UCX_MAP_FOREACH(key, val, iter) { |
89 if (destr) { | 89 if (destr) { |
90 destr(val); | 90 destr(val); |
91 } else { | 91 } else { |
92 map->allocator->free(val, NULL); | 92 alfree(map->allocator, val); |
93 } | 93 } |
94 } | 94 } |
95 } | 95 } |
96 | 96 |
97 void ucx_map_clear(UcxMap *map) { | 97 void ucx_map_clear(UcxMap *map) { |