modify memory-free function

This commit is contained in:
zoujia 2023-03-23 16:03:04 +08:00
parent a47003db19
commit 3bac5aa6a2

View File

@ -1094,7 +1094,7 @@ ReadBuffer_common(SMgrRelation smgr, char relpersistence, ForkNumber forkNum,
if(pageXlogBuf != NULL)
{
free_dataRead(pageXlogBuf, 1, 1);
free(pageXlogBuf);
pageXlogBuf = NULL;
}
}