code: public void free()
      {
          this.removeAll(); // Clear all the buffers
  
          super.free();
          
          if (m_gridList != null)
              m_gridList.free();
          m_gridList = null;
          if (m_gridBuffer != null)
              m_gridBuffer.free();
          m_gridBuffer = null;
          if (m_gridNew != null)
              m_gridNew.free();
          m_gridNew = null;
      }
docs: Free.