Add m_free() to free the memory allocated