diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-29 18:51:13 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-29 18:51:13 +0100 |
commit | 3f0ef59913f96271aeea4f8dd8e6cf430bd0c65f (patch) | |
tree | d541c40cb333c325a8b711578779c034ebd0ed90 /src | |
parent | add a minor todo (diff) | |
download | mds-3f0ef59913f96271aeea4f8dd8e6cf430bd0c65f.tar.gz mds-3f0ef59913f96271aeea4f8dd8e6cf430bd0c65f.tar.bz2 mds-3f0ef59913f96271aeea4f8dd8e6cf430bd0c65f.tar.xz |
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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 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; |