Show More
@@ -1095,7 +1095,7 static int nt_delete_node(nodetree *self | |||||
1095 |
|
1095 | |||
1096 | static int nt_init(nodetree *self, indexObject *index, unsigned capacity) |
|
1096 | static int nt_init(nodetree *self, indexObject *index, unsigned capacity) | |
1097 | { |
|
1097 | { | |
1098 |
/* Initialize before |
|
1098 | /* Initialize before overflow-checking to avoid nt_dealloc() crash. */ | |
1099 | self->nodes = NULL; |
|
1099 | self->nodes = NULL; | |
1100 |
|
1100 | |||
1101 | self->index = index; |
|
1101 | self->index = index; |
General Comments 0
You need to be logged in to leave comments.
Login now