Commit ebbff7ee authored by stewart@mysql.com's avatar stewart@mysql.com
Browse files

BUG#19340 small leak in ndbd

small cleanup fixes in kernel/vm/Configuration
parent 051e6ac9
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -210,9 +210,13 @@ Configuration::Configuration()
  m_config_retriever= 0;
  m_clusterConfig= 0;
  m_clusterConfigIter= 0;
  m_logLevel= 0;
}

Configuration::~Configuration(){
  if (opt_connect_str)
    free(_connectString);

  if(_programName != NULL)
    free(_programName);

@@ -225,6 +229,10 @@ Configuration::~Configuration(){
  if (m_config_retriever) {
    delete m_config_retriever;
  }

  if(m_logLevel) {
    delete m_logLevel;
  }
}

void