From 3f0ef59913f96271aeea4f8dd8e6cf430bd0c65f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 29 Nov 2014 18:51:13 +0100 Subject: derp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-kbdc/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2