Fixed possibly uninitialized memory in lists [skip ci]

This commit is contained in:
Andrew Kane committed 2024-01-27 19:51:34 -08:00
1 parent 705e71015f
commit d0f13d4e7f
1 file changed
+1 -1
+1 -1
View File
@@ -473,7 +473,7 @@ CreateListPages(Relation index, VectorArray centers, int dimensions,
IvfflatList list;
listSize = MAXALIGN(IVFFLAT_LIST_SIZE(dimensions));
list = palloc(listSize);
list = palloc0(listSize);
buf = IvfflatNewBuffer(index, forkNum);
IvfflatInitRegisterPage(index, &buf, &page, &state);