mirror of https://gitee.com/bigwinds/arangodb
Fix a memory leak introduced by the skip list index cleanup.
This commit is contained in:
parent
3aa1b12a45
commit
8d37c937bf
|
@ -244,6 +244,7 @@ static void FreeElm(void* x)
|
||||||
{
|
{
|
||||||
TRI_skiplist_index_element_t* xx = x;
|
TRI_skiplist_index_element_t* xx = x;
|
||||||
TRI_Free(TRI_UNKNOWN_MEM_ZONE, xx->_subObjects);
|
TRI_Free(TRI_UNKNOWN_MEM_ZONE, xx->_subObjects);
|
||||||
|
TRI_Free(TRI_UNKNOWN_MEM_ZONE, xx);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int CopyElement (SkiplistIndex* skiplistindex,
|
static int CopyElement (SkiplistIndex* skiplistindex,
|
||||||
|
|
Loading…
Reference in New Issue