diff options
Diffstat (limited to 'src/meta.c')
-rw-r--r-- | src/meta.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -124,25 +124,25 @@ meta_expand_string (const char *string, struct metadef *def, void *data, txtacc_grow (acc, newval, len); free (newval); } else txtacc_grow (acc, s, len); p++; } } else txtacc_grow (acc, p, 1); } txtacc_1grow (acc, 0); - res = xstrdup (txtacc_finish (acc)); + res = txtacc_finish (acc, 1); txtacc_free (acc); return res; } void meta_free (struct metadef *def) { for (; def->kw; def++) { if (def->storage) { free (def->storage); |