SPI_freetuple man page
SPI_freetuple — free a row allocated in the upper executor context
void SPI_freetuple(HeapTuple row)
SPI_freetuple frees a row previously allocated in the upper executor context.
This function is no longer different from plain heap_freetuple. It's kept just for backward compatibility of existing code.
row to free