Bump liberty, fix map iterators

This commit is contained in:
2015-07-14 22:25:30 +02:00
parent 955552f4fa
commit d6a4ca1434
4 changed files with 18 additions and 32 deletions

View File

@@ -70,17 +70,6 @@ str_vector_find (const struct str_vector *v, const char *s)
return -1;
}
static void *
str_map_steal (struct str_map *self, const char *key)
{
void *value = str_map_find (self, key);
void (*free_backup) (void *) = self->free;
self->free = NULL;
str_map_set (self, key, NULL);
self->free = free_backup;
return value;
}
// --- Logging -----------------------------------------------------------------
static void