mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-15 17:16:56 +08:00
Updated order [skip ci]
This commit is contained in:
@@ -185,8 +185,8 @@ HnswInitElement(ItemPointer heaptid, int m, double ml, int maxLevel)
|
|||||||
void
|
void
|
||||||
HnswFreeElement(HnswElement element)
|
HnswFreeElement(HnswElement element)
|
||||||
{
|
{
|
||||||
list_free_deep(element->heaptids);
|
|
||||||
HnswFreeNeighbors(element);
|
HnswFreeNeighbors(element);
|
||||||
|
list_free_deep(element->heaptids);
|
||||||
pfree(element->vec);
|
pfree(element->vec);
|
||||||
pfree(element);
|
pfree(element);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user