ASA Programming Guide
Embedded SQL Programming
Library function reference
void free_filled_sqlda( struct sqlda * sqlda );
Free the memory allocated to each sqldata pointer and the space allocated for the SQLDA itself. Any null pointer is not freed.
Calling this function causes free_sqlda to be called automatically, and so any descriptors allocated by alloc_sqlda are freed.