aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-29 18:51:13 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-29 18:51:13 +0100
commit3f0ef59913f96271aeea4f8dd8e6cf430bd0c65f (patch)
treed541c40cb333c325a8b711578779c034ebd0ed90 /src/mds-kbdc
parentadd a minor todo (diff)
downloadmds-3f0ef59913f96271aeea4f8dd8e6cf430bd0c65f.tar.gz
mds-3f0ef59913f96271aeea4f8dd8e6cf430bd0c65f.tar.bz2
mds-3f0ef59913f96271aeea4f8dd8e6cf430bd0c65f.tar.xz
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-kbdc')
-rw-r--r--src/mds-kbdc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-kbdc/tree.c b/src/mds-kbdc/tree.c
index eef2d7f..df94a97 100644
--- a/src/mds-kbdc/tree.c
+++ b/src/mds-kbdc/tree.c
@@ -277,7 +277,7 @@ mds_kbdc_tree_t* mds_kbdc_tree_dup(mds_kbdc_tree_t* restrict this)
mds_kbdc_tree_t* node = NULL;
int saved_errno;
- fail_if ((this == NULL) || xcalloc(node, 1, sizeof(mds_kbdc_tree_t)));
+ fail_if ((this == NULL) || xcalloc(node, 1, mds_kbdc_tree_t));
node->type = this->type;
node->loc_line = this->loc_line;