Right now there is a memory leak present because the allocated memory is not freed in the object destructor.
Right now there is a memory leak present because the allocated memory is not freed in the object destructor.