What is the correct way to free a float \*\* like below.

e.g. `float ** someArray`

```
for(int i = 0; i < numberOfDimensions; i++)
    {
        somearray[i] = (float *) malloc(numberOfDimensions * sizeof(float));
    }

```