title: Destructor for HashTable
body: <p>How would I properly create a destructor for my hash table? Can I just do delete[]list? I use linear probing to deal with my collisions...not sure if this is relevant for creating my destructor. </p>
  
  <pre><code>class Graph
  {
  ...
   private:
  
  vertex_node **list
  
  
  Graph::Graph()
  {
  
  size = 0;
  capacity = INITIAL_CAP;
  list = new vertex_node *[capacity];
  }
  
  
  Graph::~Graph
  {
  
  
  }
  </code></pre>