diff options
Diffstat (limited to 'src/meta.c')
-rw-r--r-- | src/meta.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ meta_expand_string (const char *string, struct metadef *def, void *data, | |||
133 | txtacc_grow (acc, p, 1); | 133 | txtacc_grow (acc, p, 1); |
134 | } | 134 | } |
135 | txtacc_1grow (acc, 0); | 135 | txtacc_1grow (acc, 0); |
136 | res = xstrdup (txtacc_finish (acc)); | 136 | res = txtacc_finish (acc, 1); |
137 | txtacc_free (acc); | 137 | txtacc_free (acc); |
138 | return res; | 138 | return res; |
139 | } | 139 | } |