Free iarray data structure
#include <iarray.h>
void iarray_free(iarray* x);
iarray_free frees the iarray and all elements in it.
Using the array during or after iarray_free results in undefined behavior.
iarray_allocate(3), iarray_get(3), iarray_allocate(3)