diff options
Diffstat (limited to 'core')
| -rw-r--r-- | core/taxonomy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/taxonomy.c b/core/taxonomy.c index 45989e6c7..15086d28d 100644 --- a/core/taxonomy.c +++ b/core/taxonomy.c @@ -105,7 +105,7 @@ void taxonomy_set_category(struct taxonomy_data *t, enum taxonomy_category categ } idx = t->nr++; } - t->category[idx].value = value; + t->category[idx].value = strdup(value); t->category[idx].origin = origin; t->category[idx].category = category; } |