delete a double pointer c++

C++
for (int i=0; i<size_out; i++)
    delete [] desc[i];
delete [] desc;
desc = nullptr;
Source

Also in C++: