mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-06 01:08:35 +00:00
Fixed memory context leak in HnswUpdateNeighborsOnDisk - fixes #692
This commit is contained in:
1 parent
57248ba128
commit
d5f4a0e435
1 file changed
+2
@@ -561,6 +561,8 @@ HnswUpdateNeighborsOnDisk(Relation index, FmgrInfo *procinfo, Oid collation, Hns
|
||||
UpdateNeighborOnDisk(neighborElement, e, idx, m, lm, lc, index, checkExisting, building);
|
||||
}
|
||||
}
|
||||
|
||||
MemoryContextDelete(updateCtx);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user