Synopsis:
result=array_free(array_name)
Arguments:
array_name - The name of the array to free
Description: This function releases a previous allocated array and free up the dynamically created memory.
Returns: 0 if successful or -1 if an invalid array_name was specified.