summaryrefslogtreecommitdiffabout
path: root/src/meta.c
Side-by-side diff
Diffstat (limited to 'src/meta.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/meta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meta.c b/src/meta.c
index 61dc334..059fe6e 100644
--- a/src/meta.c
+++ b/src/meta.c
@@ -130,13 +130,13 @@ meta_expand_string (const char *string, struct metadef *def, void *data,
}
}
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)

Return to:

Send suggestions and report system problems to the System administrator.