C++ way:

Using the C's free() method to deallocate a pointer allocated with C++'s new.