aboutsummaryrefslogtreecommitdiff
path: root/fstree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fstree.c')
-rw-r--r--fstree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fstree.c b/fstree.c
index 5e59594..0f9a534 100644
--- a/fstree.c
+++ b/fstree.c
@@ -43,7 +43,7 @@ static struct node *read_fstree(const char *dirname)
"WARNING: Cannot open %s: %s\n",
tmpname, strerror(errno));
} else {
- prop = build_property(xstrdup(de->d_name),
+ prop = build_property(de->d_name,
data_copy_file(pfile,
st.st_size),
NULL);