diff options
Diffstat (limited to 'libcnary/node.c')
| -rw-r--r-- | libcnary/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcnary/node.c b/libcnary/node.c index fadc9de..6026925 100644 --- a/libcnary/node.c +++ b/libcnary/node.c | |||
| @@ -61,7 +61,7 @@ node_t* node_create(node_t* parent, void* data) { | |||
| 61 | node->isLeaf = TRUE; | 61 | node->isLeaf = TRUE; |
| 62 | node->isRoot = TRUE; | 62 | node->isRoot = TRUE; |
| 63 | node->parent = NULL; | 63 | node->parent = NULL; |
| 64 | node->children = node_list_create(node); | 64 | node->children = node_list_create(); |
| 65 | 65 | ||
| 66 | // Pass NULL to create a root node | 66 | // Pass NULL to create a root node |
| 67 | if(parent != NULL) { | 67 | if(parent != NULL) { |
