diff options
Diffstat (limited to 'src/mds-kbdc/tree.c')
-rw-r--r-- | src/mds-kbdc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-kbdc/tree.c b/src/mds-kbdc/tree.c index 6ee98c1..4e6fef3 100644 --- a/src/mds-kbdc/tree.c +++ b/src/mds-kbdc/tree.c @@ -254,7 +254,7 @@ void mds_kbdc_tree_free(mds_kbdc_tree_t* restrict this) * * @param member:identifer The member in the tree to duplicate */ -#define S(member) fail_if (t->member && (n->member = strdup(t->member), n->member == NULL)) +#define S(member) fail_if (t->member && xstrdup(n->member, t->member)) /** |