postgresql_16:6.10.3.3.1 Description
PostgreSQL 16 > Server Programming > Server Programming Interface > Memory Management > SPI_pfree > Description
SPI_pfree frees memory previously allocated using SPI_palloc or SPI_repalloc.
This function is no longer different from plain pfree. It's kept just for backward compatibility of existing code.