Allocate memory
For iterator functions written in C, the default memory duration for return values set by the server should be sufficient.
The MI_FPARAM data structure should be allocated a duration that lasts for all iterations, usually a PER_COMMAND duration.