sorting/ins_sort.c
/**
 * free the contents of an array struct
 */
free the contents of an array struct
free the contents of an array struct
int int_array_free(int_array_t *array) {
    if(array) {
	free(array->data);
	array->data = 0;
	array->length = 0;
	return 0;
    }
    return -1;
}
int int_array_free ( int_array_t * array ) { if ( array ) { free ( array -> data ) ; array -> data = 0 ; array -> length = 0 ; return 0 ; } return -1 ; }
free the contents of an array struct
free the contents of an array struct