Skip to content
Snippets Groups Projects
Commit a6711f42 authored by Aleksey Demakov's avatar Aleksey Demakov
Browse files

Free field type memory in space struct for tree-index-optimization.

parent eb0af866
No related branches found
No related tags found
No related merge requests found
......@@ -926,6 +926,7 @@ space_free(void)
for (i = 0 ; i < BOX_SPACE_MAX ; i++) {
if (!space[i].enabled)
continue;
int j;
for (j = 0 ; j < BOX_INDEX_MAX ; j++) {
Index *index = space[i].index[j];
......@@ -933,6 +934,8 @@ space_free(void)
break;
[index free];
}
sfree(space[i].field_types);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment