CHECK_PTR
This commit is contained in:
parent
dc61d54530
commit
c5dce1d232
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ node * r3_tree_create(int cap) {
|
|||
CHECK_PTR(n);
|
||||
|
||||
n->edges = (edge**) zmalloc( sizeof(edge*) * cap );
|
||||
CHECK_PTR(n->edges);
|
||||
n->edge_len = 0;
|
||||
n->edge_cap = cap;
|
||||
|
||||
|
|
Loading…
Reference in a new issue